Commit | Line | Data |
---|---|---|
c656bca5 AR |
1 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
2 | ||
3 | * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs. | |
4 | * symtab.c (iterate_over_symtabs): Remove unused s. | |
5 | (find_pc_sect_symtab): Remove unused pspAce. | |
6 | (find_pc_sect_line): Remove unused alt_symtab. | |
7 | (find_pcs_for_symtab_line): Remove unused ix, previous_function. | |
8 | (completion_list_add_name): Remove unused newsize. | |
9 | ||
7078baeb TT |
10 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
11 | ||
12 | PR c++/14998: | |
13 | * dwarf2read.c (read_tag_ptr_to_member_type): Handle | |
14 | TYPE_CODE_FUNC. | |
15 | ||
c2e8b827 AR |
16 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
17 | ||
18 | * target.c (target_read_string): Remove unused origlen. | |
19 | ||
0e43993a AR |
20 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
21 | ||
22 | * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec. | |
23 | * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt. | |
24 | * ax-general.c (ax_print): Remove unused is_float. | |
25 | * blockframe.c (block_innermost_frame): Remove unused start, end. | |
26 | * break-catch-sig.c (catch_signal_command): Remove unused gdbarch. | |
27 | ||
765a97ab AR |
28 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
29 | ||
30 | * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo. | |
31 | (svr4_read_so_list): Remove unused lmo. | |
32 | * solib-target.c (solib_target_relocate_section_addresses): Remove | |
33 | unused flags. | |
34 | ||
a99dad3d TT |
35 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
36 | ||
37 | * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0". | |
38 | ||
3bff1ecd TT |
39 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
40 | ||
41 | * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. | |
42 | * utils.c (gnu_debuglink_crc32): Remove. | |
43 | * utils.h (gnu_debuglink_crc32): Don't declare. | |
44 | ||
7d455152 TT |
45 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
46 | ||
47 | * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) | |
48 | (read_structure_type, read_enumeration_type): Remove cast. | |
49 | ||
abee88f2 TT |
50 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
51 | ||
52 | * dwarf2read.c (read_namespace_type): Remove cast. | |
53 | (read_typedef): Likewise. | |
54 | ||
8d9878a4 TT |
55 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
56 | ||
57 | * dwarf2read.c (free_dwo_file): Remove assert. | |
58 | ||
a543d2a9 TT |
59 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
60 | ||
61 | * value.c (deprecated_set_value_modifiable): Remove. | |
62 | * value.h (deprecated_set_value_modifiable): Remove. | |
63 | ||
bed911e5 DE |
64 | 2013-01-28 Doug Evans <dje@google.com> |
65 | ||
66 | * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address | |
67 | to addresses from dwo files. | |
68 | ||
28c64fc2 SCR |
69 | 2013-01-25 Siva Chandra Reddy <sivachandra@google.com> |
70 | ||
71 | * valops.c (find_overload_match): Remove unused argument 'lax'. | |
72 | * value.h: Remove unused argument 'lax' from the declaration of | |
73 | find_overload_match. | |
74 | * eval.c (value_subexp_standard): Do not pass a 'lax' argument | |
75 | to find_overload_match. | |
76 | * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax' | |
77 | argument to find_overload_match. | |
78 | ||
4d4ec4e5 TT |
79 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
80 | ||
81 | * dwarf2read.c (processing_has_namespace_info): Remove. | |
82 | (struct dwarf2_cu) <processing_has_namespace_info>: New field. | |
83 | (process_die, read_func_scope, dwarf2_start_symtab) | |
84 | (new_symbol_full): Update. | |
85 | ||
195a3f6c TT |
86 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
87 | ||
88 | * cp-namespace.c (cp_set_block_scope): Remove. | |
89 | * cp-support.h (cp_set_block_scope): Remove. | |
90 | * dbxread.c: Include block.h. | |
91 | (cp_set_block_scope): New function. | |
92 | (process_one_symbol): Update. | |
93 | * dwarf2read.c (read_func_scope): Use block_set_scope. | |
94 | ||
8ba0730a PA |
95 | 2013-01-25 Pedro Alves <palves@redhat.com> |
96 | ||
97 | * remote.c (add_current_inferior_and_thread): Tweak comment. | |
98 | ||
12aaed36 TT |
99 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
100 | ||
101 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. | |
102 | (cp_add_using_directive): Add 'copy_names' argument. | |
103 | * cp-support.h (cp_add_using_directive): Update. | |
104 | (struct using_direct) <import_src, import_dest, alias, | |
105 | declaration>: Now const. | |
106 | * dwarf2read.c (read_import_statement): Use obconcat. | |
107 | Don't copy names passed to cp_add_using_directive. | |
108 | ||
7fc75ca7 TT |
109 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
110 | ||
111 | * c-exp.y (qualified_name): Use TYPE_SAFE_NAME. | |
112 | ||
3405876a PA |
113 | 2013-01-25 Pedro Alves <palves@redhat.com> |
114 | ||
115 | * remote.c (stop_reply_extract_thread): New. | |
116 | (add_current_inferior_and_thread): New parameter 'wait_status'. | |
117 | Handle it. | |
118 | (remote_start_remote): Pass wait status to | |
119 | add_current_inferior_and_thread. | |
120 | (extended_remote_run): Update comment. | |
121 | (extended_remote_create_inferior_1): Pass wait status to | |
122 | add_current_inferior_and_thread. | |
123 | ||
8954db33 AB |
124 | 2013-01-25 Andrew Burgess <aburgess@broadcom.com> |
125 | Ulrich Weigand <uweigand@de.ibm.com> | |
126 | ||
127 | * valarith.c (value_vector_widen): New function for replicating a | |
128 | scalar into a vector. | |
129 | (value_binop): Use value_vector_widen to widen scalar to vector | |
130 | rather than casting, this better matches gcc C behaviour. | |
131 | * valops.c (value_casst): Update logic for casting between vector | |
132 | types, and for casting from scalar to vector, try to match gcc C | |
133 | behaviour. | |
134 | * value.h (value_vector_widen): Declare. | |
135 | * opencl-lang.c (opencl_value_cast): New opencl specific casting | |
136 | function, handle special case for casting scalar to vector. | |
137 | (opencl_relop): Use opencl_value_cast. | |
138 | (evaluate_subexp_opencl): Use opencl_value_cast instead of | |
139 | value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE | |
140 | in order to use opencl_value_cast. | |
141 | ||
843b20dc YQ |
142 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
143 | ||
144 | * event-loop.c: Include "queue.h". | |
145 | (gdb_event_p): New typedef. | |
146 | (DECLARE_QUEUE_P): Use. | |
147 | (DEFINE_QUEUE_P): Use. | |
148 | (async_queue_event): Remove. | |
149 | (gdb_event_xfree): New. | |
150 | (initialize_event_loop): New. | |
151 | (process_event): Use QUEUE macros. | |
152 | (event_queue): Remove. | |
153 | (gdb_wait_for_event): Caller update. | |
154 | (check_async_event_handlers): Likewise. | |
155 | (poll_timers): Likewise. | |
156 | * event-loop.h (initialize_event_loop): Declare. | |
157 | * event-loop.c (gdb_event_xfree): New. | |
158 | * top.c (gdb_init): Call initialize_event_loop. | |
159 | ||
20ad8856 YQ |
160 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
161 | ||
162 | * event-loop.c (async_queue_event): Remove one parameter | |
163 | 'position'. Remove code handling 'position' == TAIL. | |
164 | (gdb_wait_for_event): Caller update. | |
165 | (check_async_event_handlers): Caller update. | |
166 | (poll_timers): Caller update. | |
167 | * event-loop.h (enum queue_position): Remove. | |
168 | ||
3bbbe775 MK |
169 | 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com> |
170 | ||
171 | * MAINTAINERS: Update my email. | |
172 | ||
a87d9ac4 YQ |
173 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
174 | ||
175 | * main.c (print_gdb_help): Remove "--epoch" from the help | |
176 | message. | |
177 | ||
2077afdd TD |
178 | 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com> |
179 | ||
180 | * symtab.c (skip_prologue_using_sal): Consider a file | |
181 | change the same as an increased line number | |
182 | ||
63da4037 TD |
183 | 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
184 | ||
185 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
186 | ||
45e6c716 TT |
187 | 2013-01-24 Tom Tromey <tromey@redhat.com> |
188 | ||
189 | * ada-lang.h (ada_decode_symbol): Make return type const. | |
190 | * ada-lang.c (ada_decode_symbol): Likewise. | |
191 | ||
b1ae631a DE |
192 | 2013-01-23 Doug Evans <dje@google.com> |
193 | ||
194 | * linespec.c (find_linespec_symbols): Make static. | |
195 | ||
55a78401 SDJ |
196 | 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
197 | ||
198 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct | |
199 | type on float conversion for complex type. | |
200 | ||
bea883fd SCR |
201 | 2013-01-23 Siva Chandra Reddy <sivachandra@google.com> |
202 | ||
203 | Add a new class gdb.Architecture which exposes GDB's | |
204 | internal representation of architecture via GDB Python API. | |
205 | * Makefile.in: Add entries corresponding to the new file | |
206 | python/py-arch.c. | |
207 | * NEWS (Python Scripting): Add entries for the new class | |
208 | gdb.Architecture and the new method gdb.Frame.architecture. | |
209 | * python/py-arch.c: Implement gdb.Architecture class. | |
210 | * python/py-frame.c (frapy_arch): Implement the method | |
211 | gdb.Frame.architecture(). | |
212 | (frame_object_methods): Add 'architecture' to the method table. | |
213 | * python/python-internal.h: Add declarations of new utility | |
214 | functions. | |
215 | * python/python.c (_initialize_python): Initialize | |
216 | gdb.Architecture class. | |
217 | ||
796a7ff8 DE |
218 | 2013-01-23 Doug Evans <dje@google.com> |
219 | ||
220 | Work around binutils/15021. | |
221 | * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and | |
222 | type_unit_group out of union s. All uses updated. | |
223 | (read_index_from_section): Watch for index version 8. | |
224 | (follow_die_sig): If using .gdb_index version <= 7, record the TU as | |
225 | an imported symtab. | |
226 | (write_psymtabs_to_index): Increment version number to 8. | |
227 | ||
0928e93d PA |
228 | 2013-01-22 Pedro Alves <palves@redhat.com> |
229 | ||
230 | * annotate.c (breakpoint_changed): Skip if breakpoint is not | |
231 | user-visible. | |
232 | ||
9c97429f PA |
233 | 2013-01-22 Pedro Alves <palves@redhat.com> |
234 | ||
235 | * annotate.c (annotate_breakpoints_changed): Rename to ... | |
236 | (annotate_breakpoints_invalid): ... this. Make static. | |
237 | (breakpoint_changed): Adjust. | |
238 | (_initialize_annotate): Always install the observers. Install a | |
239 | "breakpoint_created" observer. | |
240 | * annotate.h (annotate_breakpoints_changed): Delete declaration. | |
241 | * breakpoint.c (set_breakpoint_condition) | |
242 | (breakpoint_set_commands, do_map_commands_command) | |
243 | (init_raw_breakpoint, clear_command, set_ignore_count) | |
244 | (enable_breakpoint_disp): No longer call | |
245 | annotate_breakpoints_changed. | |
246 | ||
bd00c694 PA |
247 | 2013-01-22 Pedro Alves <palves@redhat.com> |
248 | ||
249 | * annotate.c: Include "inferior.h". | |
250 | (frames_invalid_emitted) | |
251 | (breakpoints_invalid_emitted): New globals. | |
252 | (async_background_execution_p): New function. | |
253 | (annotate_breakpoints_changed, annotate_frames_invalid): Skip | |
254 | emitting the annotation if it has already been emitted. | |
255 | (annotate_display_prompt): New function. | |
256 | * annotate.h (annotate_display_prompt): New declaration. | |
257 | * event-top.c: Include annotate.h. | |
258 | (display_gdb_prompt): Call annotate_display_prompt. | |
259 | ||
187d10dd PA |
260 | 2013-01-22 Pedro Alves <palves@redhat.com> |
261 | ||
262 | * annotate.c (ignore_count_changed): Delete. | |
263 | (annotate_breakpoints_changed): Don't clear ignore_count_changed. | |
264 | (annotate_ignore_count_change): Delete. | |
265 | (annotate_stopped): Don't emit a delayed breakpoints-changed | |
266 | annotation. | |
267 | * annotate.h (annotate_ignore_count_change): Delete. | |
268 | * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call | |
269 | annotate_ignore_count_change. | |
270 | ||
d84cf7eb TT |
271 | 2013-01-22 Tom Tromey <tromey@redhat.com> |
272 | ||
273 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only | |
274 | require_rvalue for a register location. | |
275 | ||
8f1d5693 MK |
276 | 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com> |
277 | ||
278 | * breakpoint.c (print_one_breakpoint_location): Add MI | |
279 | field 'thread-groups' when printing a breakpoint. | |
280 | (output_thread_groups): New function. | |
281 | ||
aa6199c6 SCR |
282 | 2013-01-21 Siva Chandra Reddy <sivachandra@google.com> |
283 | ||
284 | * python/lib/gdb/commands/explore.py | |
285 | (CompoundExplorer.explore_expr): Correct the name of a method | |
286 | being invoked. | |
287 | (ExploreTypeCommand.invoke): Add a missing 'return'. | |
288 | ||
d2afef13 TT |
289 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
290 | ||
291 | * gdb_obstack.h (obconcat): Move declaration here, from... | |
292 | * symfile.h (obconcat): ... here. | |
293 | * gdb_obstack.c: New file. | |
294 | (obconcat): Move from... | |
295 | * symfile.c (obconcat): ... here. | |
296 | * Makefile.in (SFILES): Add gdb_obstack.c. | |
297 | (COMMON_OBS): Add gdb_obstack.o. | |
298 | ||
10f0c4bb TT |
299 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
300 | ||
301 | * symfile.h (obsavestring): Don't declare. | |
302 | * symfile.c (obsavestring): Remove. | |
303 | * ada-exp.y: Use obstack_copy0, not obsavestring. | |
304 | * ada-lang.c: Use obstack_copy0, not obsavestring. | |
305 | * coffread.c: Use obstack_copy0, not obsavestring. | |
306 | * cp-namespace.c: Use obstack_copy0, not obsavestring. | |
307 | * dbxread.c: Use obstack_copy0, not obsavestring. | |
308 | * dwarf2read.c: Use obstack_copy0, not obsavestring. | |
309 | * jit.c: Use obstack_copy0, not obsavestring. | |
310 | * mdebugread.c: Use obstack_copy0, not obsavestring. | |
311 | * psymtab.c: Use obstack_copy0, not obsavestring. | |
312 | * stabsread.c: Use obstack_copy0, not obsavestring. | |
313 | * xcoffread.c: Use obstack_copy0, not obsavestring. | |
314 | ||
86f62fd7 TT |
315 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
316 | ||
317 | * dwarf2read.c (fixup_go_packaging): Save package name | |
318 | on objfile obstack. | |
319 | * gdbtypes.c (init_type): Don't copy name. | |
320 | ||
15d034d0 TT |
321 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
322 | ||
323 | * dwarf2read.c (struct partial_die_info) <name, scope>: Now | |
324 | const. | |
325 | (struct attribute) <u.str>: Now const. | |
326 | (struct fnfieldlist) <name>: Now const. | |
327 | (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. | |
328 | (partial_die_parent_scope): Make return type const. | |
329 | (partial_die_full_name, add_partial_symbol): Update. | |
330 | (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make | |
331 | 'name' const. | |
332 | (find_file_and_directory): Make 'name' and 'comp_dir' const. | |
333 | (read_file_scope, read_func_scope, dwarf2_add_field) | |
334 | (dwarf2_add_member_fn, read_structure_type) | |
335 | (process_enumeration_scope, read_array_type, read_module_type) | |
336 | (read_base_type, read_subrange_type): Update. | |
337 | (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. | |
338 | (new_symbol_full, guess_full_die_structure_name): Update. | |
339 | (dwarf2_canonicalize_name): Return const type. Make 'name' const. | |
340 | (dwarf2_name): Return const type. | |
341 | (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' | |
342 | const. | |
343 | ||
748e18ae TT |
344 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
345 | ||
346 | * gdbtypes.c (init_type): Make 'name' const. | |
347 | * gdbtypes.h (init_type): Update. | |
348 | ||
46212e0b TT |
349 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
350 | ||
351 | * buildsym.c (patch_subfile_names): Use set_last_source_file. | |
352 | (start_symtab): Make 'name' and 'dirname' const. Use | |
353 | set_last_source_file. | |
354 | (restart_symtab, reset_symtab_globals): Use set_last_source_file. | |
355 | (last_source_file): Define. Now static. | |
356 | (set_last_source_file, get_last_source_file): New functions. | |
357 | * buildsym.h (last_source_file): Don't declare. | |
358 | (start_symtab): Update. | |
359 | (set_last_source_file, get_last_source_file): Declare. | |
360 | * coffread.c (complete_symtab): Use set_last_source_file. | |
361 | (coff_end_symtab): Likewise. | |
362 | (coff_symtab_read): Use set_last_source_file, get_last_source_file. | |
363 | * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use | |
364 | set_last_source_file. | |
365 | (process_one_symbol): Use get_last_source_file. | |
366 | * mdebugread.c (parse_partial_symbols): Use set_last_source_file. | |
367 | (psymtab_to_symtab_1): Use get_last_source_file. | |
368 | * xcoffread.c (process_linenos): Use get_last_source_file. | |
369 | (complete_symtab): Use set_last_source_file. | |
370 | (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. | |
371 | (scan_xcoff_symtab): Use set_last_source_file. | |
372 | ||
9d2ceabe TT |
373 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
374 | ||
375 | * symtab.c (struct demangled_name_entry) <mangled>: Now const. | |
376 | (symbol_set_names): Remove casts. Handle field const-ness. | |
377 | ||
cfc594ee TT |
378 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
379 | ||
380 | * dwarf2read.c (new_symbol_full): Remove cast. | |
381 | * symtab.c (symbol_set_demangled_name): Make 'name' const. | |
382 | * symtab.h (symbol_set_demangled_name): Update. | |
383 | ||
5484b13a TT |
384 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
385 | ||
386 | * main.c (captured_main): Call bfd_init. | |
387 | ||
1605ef26 TT |
388 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
389 | ||
390 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. | |
391 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI. | |
392 | * minsyms.c (install_minimal_symbols): Don't check for _Z symbols. | |
393 | * NEWS: Update. | |
394 | ||
3b74cdc3 JK |
395 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
396 | ||
397 | * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. | |
398 | ||
5a352474 JK |
399 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
400 | ||
401 | Fix gdb.fortran/common-block.exp crash in PIE mode. | |
402 | * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use | |
403 | LOC_COMMON_BLOCK. | |
404 | * f-valprint.c (info_common_command_for_block): Expect | |
405 | LOC_COMMON_BLOCK in gdb_assert. | |
406 | * symtab.h (struct general_symbol_info): Update comment for the | |
407 | common_block member. | |
408 | (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member. | |
409 | (enum address_class): New member LOC_COMMON_BLOCK. | |
410 | ||
c60797fd DB |
411 | 2013-01-18 David Blaikie <dblaikie@gmail.com> |
412 | ||
413 | * MAINTAINERS (Write After Approval): Add "David Blaikie". | |
0cae7dfb | 414 | |
46f35228 TT |
415 | 2013-01-18 Tom Tromey <tromey@redhat.com> |
416 | ||
417 | PR c++/14999: | |
418 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: | |
419 | Call require_rvalue. | |
420 | ||
257e7a09 YQ |
421 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
422 | ||
423 | * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. | |
424 | (dbx_read_symtab): New declaration. | |
425 | (dbx_psymtab_to_symtab): Delete. | |
426 | (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. | |
427 | Rename parameter PST to SELF. Exchanged two parameters. | |
428 | (start_psymtab): Caller update. | |
429 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. | |
430 | (dwarf2_read_symtab): New declaration. | |
431 | (dwarf2_psymtab_to_symtab): Delete. | |
432 | (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. | |
433 | Rename parameter PST to SELF. Exchanged two parameters. | |
434 | (create_partial_symtab): Caller update. | |
435 | * mdebugread.c (mdebug_psymtab_to_symtab): Delete. | |
436 | (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. | |
437 | Rename parameter PST to SELF. Exchanged two parameters. | |
438 | (parse_partial_symbols, new_psymtab): Caller update. | |
439 | * psympriv.h (struct partial_symtab) <read_symtab>: Exchange | |
440 | two parameters. | |
441 | * psymtab.c (psymtab_to_symtab): Caller update. | |
442 | * xcoffread.c (xcoff_psymtab_to_symtab): Delete. | |
443 | (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. | |
444 | Rename parameter PST to SELF. Exchanged two parameters. | |
445 | (xcoff_start_psymtab): Caller update. | |
446 | ||
0de5618e YQ |
447 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
448 | ||
449 | * infrun.c (proceed): Rename local variable 'oneproc' to | |
450 | 'force_step'. | |
451 | ||
5c04624b DE |
452 | 2013-01-17 Doug Evans <dje@google.com> |
453 | ||
848e3e78 DE |
454 | * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete. |
455 | (dw2_build_type_unit_groups): Delete. All uses updated. | |
456 | ||
5c04624b DE |
457 | * symtab.h (struct symbol_search): Add comment. |
458 | ||
d84fca2c JK |
459 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
460 | ||
461 | * symtab.c (compare_filenames_for_search): New comment for | |
462 | HAS_DRIVE_SPEC. | |
463 | ||
6108433d TT |
464 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
465 | ||
466 | * cp-abi.c (cp_abi_completer): Fix typo in assignment. | |
467 | ||
c89ffd86 JK |
468 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
469 | ||
470 | * symtab.c (iterate_over_some_symtabs): New variable cleanups, | |
471 | initialize it by existing make_cleanup. Call new do_cleanups. | |
472 | ||
db2b2972 TT |
473 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
474 | ||
475 | * cp-abi.c (cp_abi_completer): New function. | |
476 | (_initialize_cp_abi): Set completer for "set cp-abi". | |
477 | ||
be7d37a2 TT |
478 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
479 | ||
480 | * mem-break.c: Remove obsolete comment. | |
481 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. | |
482 | ||
c9fb1240 SD |
483 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
484 | ||
485 | * jit.c (jit_reader_load_command): Interpret the jit reader name | |
486 | as an absolute path if it begins with a forward slash. | |
487 | ||
db334a01 SD |
488 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
489 | ||
490 | PR gdb/14550 | |
491 | ||
492 | * jit.c (finalize_symtab): Ensure that only the global block has a | |
493 | NULL superblock. | |
494 | ||
7d928dac PA |
495 | 2013-01-17 Pedro Alves <palves@redhat.com> |
496 | ||
497 | * acinclude.m4: Include ../config/plugins.m4, | |
498 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. | |
499 | * Makefile.in (aclocal_m4_deps): Update. | |
500 | * aclocal.m4: Renegerate. | |
501 | ||
fb8cf7c5 DE |
502 | 2013-01-16 Doug Evans <dje@google.com> |
503 | ||
504 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. | |
505 | ||
ab04a2af TT |
506 | 2013-01-16 Pedro Alves <palves@redhat.com> |
507 | Tom Tromey <tromey@redhat.com> | |
508 | ||
509 | PR cli/7221: | |
510 | * NEWS: Add "catch signal". | |
511 | * breakpoint.c (base_breakpoint_ops): No longer static. | |
512 | (bpstat_explains_signal): New function. | |
513 | (init_catchpoint): No longer static. | |
514 | (base_breakpoint_explains_signal): New function. | |
515 | (base_breakpoint_ops): Initialize new field. | |
516 | * breakpoint.h (enum bpstat_signal_value): New. | |
517 | (struct breakpoint_ops) <explains_signal>: New field. | |
518 | (bpstat_explains_signal): Remove macro, declare as function. | |
519 | (base_breakpoint_ops, init_catchpoint): Declare. | |
520 | * break-catch-sig.c: New file. | |
521 | * inferior.h (signal_catch_update): Declare. | |
522 | * infrun.c (signal_catch): New global. | |
523 | (handle_syscall_event): Update for change to | |
524 | bpstat_explains_signal. | |
525 | (handle_inferior_event): Likewise. Always handle random signals | |
526 | via bpstats. | |
527 | (signal_cache_update): Check signal_catch. | |
528 | (signal_catch_update): New function. | |
529 | (_initialize_infrun): Initialize signal_catch. | |
530 | * Makefile.in (SFILES): Add break-catch-sig.c. | |
531 | (COMMON_OBS): Add break-catch-sig.o. | |
532 | ||
8ac3646f TT |
533 | 2013-01-16 Tom Tromey <tromey@redhat.com> |
534 | ||
535 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) | |
536 | (print_one_catch_solib, print_one_catch_syscall) | |
537 | (print_one_catch_exec, print_one_exception_catchpoint): Emit | |
538 | "catch-type". | |
539 | ||
5a18e302 YQ |
540 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
541 | ||
542 | * printcmd.c (current_display_number): Make it static. | |
543 | ||
3f01d0d0 YQ |
544 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
545 | ||
546 | * infcmd.c (step_once): Don't check '!single_inst' as it was | |
547 | checked before. | |
548 | ||
1ed59174 JK |
549 | 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
550 | ||
551 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. | |
552 | ||
44478ab3 TT |
553 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
554 | ||
555 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the | |
556 | set command. | |
557 | * command.h (add_setshow_string_noescape_cmd): Update. | |
558 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. | |
559 | (complete_set_gnutarget): New function. | |
560 | (_initialize_core): Set the "set gnutarget" completer. | |
561 | ||
06d66ee9 TT |
562 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
563 | ||
564 | PR symtab/14442: | |
565 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. | |
566 | (c_type_print_modifier): Likewise. | |
567 | * dwarf2read.c (read_tag_restrict_type): New function. | |
568 | (read_type_die_1): Handle DW_TAG_restrict_type. | |
569 | * gdbtypes.c (make_restrict_type): New function. | |
570 | (recursive_dump_type): Handle TYPE_RESTRICT. | |
571 | * gdbtypes.h (enum type_flag_values): Renumber. | |
572 | (enum type_instance_flag_value): Add | |
573 | TYPE_INSTANCE_FLAG_RESTRICT. | |
574 | (TYPE_RESTRICT): New macro. | |
575 | (make_restrict_type): Declare. | |
576 | ||
c9bf0622 TT |
577 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
578 | ||
579 | PR symtab/14931: | |
580 | * psymtab.c (struct psymtab_state): New. | |
581 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New | |
582 | functions. | |
583 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. | |
584 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. | |
585 | ||
44d594fd PA |
586 | 2013-01-14 Richard Sharman <richard_sharman@mitel.com> |
587 | Pedro Alves <palves@redhat.com> | |
588 | ||
589 | PR remote/14786 | |
590 | ||
591 | * remote.c (remote_threads_info): Make a copy of the reply from | |
592 | qfThreadInfo and use that instead of rs->buf. | |
593 | ||
442e4d9c YQ |
594 | 2013-01-14 Yao Qi <yao@codesourcery.com> |
595 | ||
596 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. | |
597 | (dbx_psymtab_to_symtab): Likewise. | |
598 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. | |
599 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. | |
600 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. | |
601 | ||
5b12a61c JK |
602 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
603 | ||
604 | * parse.c (parse_exp_in_context): New variable inner_chain. Call | |
605 | make_cleanup_restore_current_language. Call set_language. Move | |
606 | OLD_CHAIN and INNER_CHAIN cleanups. | |
607 | * utils.c (do_restore_current_language) | |
608 | (make_cleanup_restore_current_language): New functions. | |
609 | * utils.h (make_cleanup_restore_current_language): New declaration. | |
610 | ||
f0a4b570 JK |
611 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
612 | ||
613 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for | |
614 | non-existing files. | |
615 | ||
57b3c00c JK |
616 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
617 | non-existing files if FILENAME is already absolute. | |
618 | ||
daefa854 JK |
619 | 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
620 | ||
621 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of | |
622 | fputs_filtered. Append trailing newline. | |
623 | ||
ca9c6ee2 YQ |
624 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
625 | Stan Shebs <stan@codesourcery.com> | |
626 | ||
627 | * psymtab.c (init_psymbol_list): Clarify the comment. | |
628 | ||
f28045c2 YQ |
629 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
630 | ||
631 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. | |
632 | (update_dprintf_command_list): Assert that 'printf_line' is | |
633 | non-null. Remove condition check. | |
634 | ||
da5132d3 JK |
635 | 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
636 | ||
637 | Code cleanup. | |
638 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return | |
639 | type const char *. | |
640 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname | |
641 | const char *. | |
642 | * tui/tui-source.h (tui_source_is_displayed): Likewise. | |
643 | ||
843e694d AG |
644 | 2013-01-09 Anthony Green <green@moxielogic.com> |
645 | ||
646 | * cp-abi.c (cplus_print_vtable): Don't return value from void | |
647 | function. | |
648 | * ada-lang.c (re_set_catch_assert): Ditto. | |
649 | ||
da51c347 DE |
650 | 2013-01-09 Doug Evans <dje@google.com> |
651 | ||
652 | * symfile.h (quick_symbol_functions): Delete member | |
653 | pre_expand_symtabs_matching. All uses removed. | |
654 | * dwarf2read.c (dw2_lookup_symbol): Implement. | |
655 | (dw2_do_expand_symtabs_matching): Delete. | |
656 | (dw2_pre_expand_symtabs_matching): Delete. | |
657 | (struct dw2_symtab_iterator): New type. | |
658 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. | |
659 | (dw2_expand_symtabs_for_function): Rewrite. | |
660 | (dwarf2_gdb_index_functions): Update. | |
661 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. | |
662 | (psym_functions): Update. | |
663 | ||
b2259038 TT |
664 | 2013-01-09 Tom Tromey <tromey@redhat.com> |
665 | ||
666 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. | |
667 | * configure: Rebuild. | |
668 | * configure.ac: Add somread.o to the build if BFD has SOM | |
669 | support. | |
670 | * somread.c: Include som/aout.h, not syms.h. | |
671 | (som_symtab_read): Use som_external_symbol_dictionary_record. | |
672 | Unpack records manually. | |
673 | (_initialize_somread): Declare. | |
674 | ||
bdad4180 MF |
675 | 2012-01-08 Mike Frysinger <vapier@gentoo.org> |
676 | ||
677 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: | |
678 | Cast return_address to 64bits. | |
679 | ||
03cdf680 HZ |
680 | 2013-01-08 Hui Zhu <hui_zhu@mentor.com> |
681 | ||
682 | * printcmd.c: Remove define of function output_command. | |
683 | * tracepoint.c: Remove extern of function output_command. | |
684 | * valprint.h: (output_command): New extern. | |
685 | ||
8a808554 TT |
686 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
687 | ||
688 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): | |
689 | Remove. | |
690 | (objc_language_defn): Use c_printchar, c_printstr, | |
691 | c_emit_char. | |
692 | ||
e93a8774 TT |
693 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
694 | ||
695 | PR cli/7719: | |
696 | * NEWS: Update. | |
697 | * ada-valprint.c (printstr, print_field_values): Remove | |
698 | "inspect_it" code. | |
699 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" | |
700 | code. | |
701 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" | |
702 | code. | |
703 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. | |
704 | * main.c (captured_main): Remove "epoch" argument. | |
705 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. | |
706 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. | |
707 | * p-valprint.c (pascal_object_print_value_fields): Remove | |
708 | "inspect_it" code. | |
709 | * printcmd.c (print_command_1): Remove 'inspect' argument. | |
710 | (print_command, call_command): Update. | |
711 | (inspect_command): Remove. | |
712 | (_initialize_printcmd): Make "inspect" an alias for "print". | |
713 | * top.c (epoch_interface): Remove. | |
714 | * top.h (epoch_interface): Remove. | |
715 | * valprint.c (user_print_options): Update. | |
716 | (print_converted_chars_to_obstack): Remove "inspect_it" code. | |
717 | * valprint.h (struct value_print_options) <inspect_it>: Remove | |
718 | field. | |
719 | ||
720 | 2013-01-04 Tom Tromey <tromey@redhat.com> | |
721 | ||
722 | * valprint.h (read_string): Add 'extern'. | |
723 | ||
b967eb24 JB |
724 | 2013-01-07 Joel Brobecker <brobecker@adacore.com> |
725 | ||
726 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test | |
727 | used to decide whether to define darwin_read_dyld_info or not. | |
728 | ||
78a8b30e PM |
729 | 2013-01-03 Pierre Muller <muller@sourceware.org> |
730 | ||
731 | * main.c (relocate_gdb_directory): Avoid calling stat function | |
732 | if DIR is empty. | |
733 | ||
50da2f25 YQ |
734 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
735 | ||
736 | * psymtab.c (fixup_psymbol_section): Update declaration. | |
737 | (fixup_psymbol_section): Remove code returning value. | |
738 | ||
e7e8980f YQ |
739 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
740 | ||
741 | * symtab.h: Remove some out of date comments. | |
742 | (enum exception_event_kind): Move it ... | |
743 | * breakpoint.c: ... here. | |
744 | ||
569283d4 MF |
745 | 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk> |
746 | ||
9f9d9a96 | 747 | PR gdb/14405 |
569283d4 MF |
748 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
749 | TASK_DYLD_INFO_COUNT is defined. | |
750 | (darwin_xfer_partial): Call darwin_read_dyld_info only if | |
751 | TASK_DYLD_INFO_COUNT is defined. | |
752 | ||
2e36fbea TT |
753 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
754 | ||
755 | * symfile.h (struct ecoff_debug_hack): Remove. | |
756 | * objfiles.c: Don't include mdebugread.h. | |
757 | ||
4f05add4 TT |
758 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
759 | ||
760 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. | |
761 | * configure.ac: Check for Mach-O support in BFD. Update | |
762 | CONFIG_OBS. | |
763 | * configure: Rebuild. | |
764 | ||
def63ff0 TT |
765 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
766 | ||
767 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. | |
768 | * configure.ac: Use GDB_AC_CHECK_BFD. | |
769 | * configure: Rebuild. | |
770 | ||
60c5dd93 MK |
771 | 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com> |
772 | ||
773 | * MAINTAINERS: Update my email. | |
774 | ||
6e58437e JB |
775 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
776 | ||
777 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. | |
778 | ||
627fe805 JB |
779 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
780 | ||
781 | * rs6000-nat.c (bss_data_overlap): New function. | |
782 | (vmap_symtab): Use it to adjust the .bss section's offset. | |
783 | ||
28e7fd62 JB |
784 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
785 | ||
786 | Update year range in copyright notice of all files. | |
787 | ||
e93a8774 | 788 | 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com> |
b9786c74 JB |
789 | |
790 | * top.c (print_gdb_version): Update copyright year. | |
791 | ||
72b20e9c | 792 | For older changes see ChangeLog-2012. |
c906108c SS |
793 | \f |
794 | Local Variables: | |
795 | mode: change-log | |
796 | left-margin: 8 | |
797 | fill-column: 74 | |
798 | version-control: never | |
57da7796 | 799 | coding: utf-8 |
c906108c | 800 | End: |