gdb
[external/binutils.git] / gdb / ChangeLog
1 2013-01-18  David Blaikie  <dblaikie@gmail.com>
2
3         * MAINTAINERS (Write After Approval): Add "David Blaikie".
4
5 2013-01-18  Tom Tromey  <tromey@redhat.com>
6
7         PR c++/14999:
8         * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
9         Call require_rvalue.
10
11 2013-01-18  Yao Qi  <yao@codesourcery.com>
12
13         * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
14         (dbx_read_symtab): New declaration.
15         (dbx_psymtab_to_symtab): Delete.
16         (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
17         Rename parameter PST to SELF.  Exchanged two parameters.
18         (start_psymtab): Caller update.
19         * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
20         (dwarf2_read_symtab): New declaration.
21         (dwarf2_psymtab_to_symtab): Delete.
22         (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
23         Rename parameter PST to SELF.  Exchanged two parameters.
24         (create_partial_symtab): Caller update.
25         * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
26         (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
27         Rename parameter PST to SELF.  Exchanged two parameters.
28         (parse_partial_symbols, new_psymtab): Caller update.
29         * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
30         two parameters.
31         * psymtab.c (psymtab_to_symtab): Caller update.
32         * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
33         (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
34         Rename parameter PST to SELF.  Exchanged two parameters.
35         (xcoff_start_psymtab): Caller update.
36
37 2013-01-18  Yao Qi  <yao@codesourcery.com>
38
39         * infrun.c (proceed): Rename local variable 'oneproc' to
40         'force_step'.
41
42 2013-01-17  Doug Evans  <dje@google.com>
43
44         * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
45         (dw2_build_type_unit_groups): Delete.  All uses updated.
46
47         * symtab.h (struct symbol_search): Add comment.
48
49 2013-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
50
51         * symtab.c (compare_filenames_for_search): New comment for
52         HAS_DRIVE_SPEC.
53
54 2013-01-17  Tom Tromey  <tromey@redhat.com>
55
56         * cp-abi.c (cp_abi_completer): Fix typo in assignment.
57
58 2013-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
59
60         * symtab.c (iterate_over_some_symtabs): New variable cleanups,
61         initialize it by existing make_cleanup.  Call new do_cleanups.
62
63 2013-01-17  Tom Tromey  <tromey@redhat.com>
64
65         * cp-abi.c (cp_abi_completer): New function.
66         (_initialize_cp_abi): Set completer for "set cp-abi".
67
68 2013-01-17  Tom Tromey  <tromey@redhat.com>
69
70         * mem-break.c: Remove obsolete comment.
71         * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
72
73 2012-01-17  Sanjoy Das <sanjoy@playingwithpointers.com>
74
75         * jit.c (jit_reader_load_command): Interpret the jit reader name
76         as an absolute path if it begins with a forward slash.
77
78 2012-01-17  Sanjoy Das <sanjoy@playingwithpointers.com>
79
80         PR gdb/14550
81
82         * jit.c (finalize_symtab): Ensure that only the global block has a
83         NULL superblock.
84
85 2013-01-17  Pedro Alves  <palves@redhat.com>
86
87         * acinclude.m4: Include ../config/plugins.m4,
88         ../config/largefile.m4 and ../config/lead-dot.m4.  Add comments.
89         * Makefile.in (aclocal_m4_deps): Update.
90         * aclocal.m4: Renegerate.
91
92 2013-01-16  Doug Evans  <dje@google.com>
93
94         * contrib/cc-with-tweaks.sh: Add references to Fission docs.
95
96 2013-01-16  Pedro Alves  <palves@redhat.com>
97             Tom Tromey  <tromey@redhat.com>
98
99         PR cli/7221:
100         * NEWS: Add "catch signal".
101         * breakpoint.c (base_breakpoint_ops): No longer static.
102         (bpstat_explains_signal): New function.
103         (init_catchpoint): No longer static.
104         (base_breakpoint_explains_signal): New function.
105         (base_breakpoint_ops): Initialize new field.
106         * breakpoint.h (enum bpstat_signal_value): New.
107         (struct breakpoint_ops) <explains_signal>: New field.
108         (bpstat_explains_signal): Remove macro, declare as function.
109         (base_breakpoint_ops, init_catchpoint): Declare.
110         * break-catch-sig.c: New file.
111         * inferior.h (signal_catch_update): Declare.
112         * infrun.c (signal_catch): New global.
113         (handle_syscall_event): Update for change to
114         bpstat_explains_signal.
115         (handle_inferior_event): Likewise.  Always handle random signals
116         via bpstats.
117         (signal_cache_update): Check signal_catch.
118         (signal_catch_update): New function.
119         (_initialize_infrun): Initialize signal_catch.
120         * Makefile.in (SFILES): Add break-catch-sig.c.
121         (COMMON_OBS): Add break-catch-sig.o.
122
123 2013-01-16  Tom Tromey  <tromey@redhat.com>
124
125         * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
126         (print_one_catch_solib, print_one_catch_syscall)
127         (print_one_catch_exec, print_one_exception_catchpoint): Emit
128         "catch-type".
129
130 2013-01-16  Yao Qi  <yao@codesourcery.com>
131
132         * printcmd.c (current_display_number): Make it static.
133
134 2013-01-16  Yao Qi  <yao@codesourcery.com>
135
136         * infcmd.c (step_once): Don't check '!single_inst' as it was
137         checked before.
138
139 2013-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
140
141         * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
142
143 2013-01-14  Tom Tromey  <tromey@redhat.com>
144
145         * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
146         set command.
147         * command.h (add_setshow_string_noescape_cmd): Update.
148         * corefile.c (set_gnutarget_command): Remove trailing whitespace.
149         (complete_set_gnutarget): New function.
150         (_initialize_core): Set the "set gnutarget" completer.
151
152 2013-01-14  Tom Tromey  <tromey@redhat.com>
153
154         PR symtab/14442:
155         * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
156         (c_type_print_modifier): Likewise.
157         * dwarf2read.c (read_tag_restrict_type): New function.
158         (read_type_die_1): Handle DW_TAG_restrict_type.
159         * gdbtypes.c (make_restrict_type): New function.
160         (recursive_dump_type): Handle TYPE_RESTRICT.
161         * gdbtypes.h (enum type_flag_values): Renumber.
162         (enum type_instance_flag_value): Add
163         TYPE_INSTANCE_FLAG_RESTRICT.
164         (TYPE_RESTRICT): New macro.
165         (make_restrict_type): Declare.
166
167 2013-01-14  Tom Tromey  <tromey@redhat.com>
168
169         PR symtab/14931:
170         * psymtab.c (struct psymtab_state): New.
171         (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
172         functions.
173         * psympriv.h (make_cleanup_discard_psymtabs): Declare.
174         * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
175
176 2013-01-14  Richard Sharman  <richard_sharman@mitel.com>
177             Pedro Alves  <palves@redhat.com>
178
179         PR remote/14786
180
181         * remote.c (remote_threads_info): Make a copy of the reply from
182         qfThreadInfo and use that instead of rs->buf.
183
184 2013-01-14  Yao Qi  <yao@codesourcery.com>
185
186         * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
187         (dbx_psymtab_to_symtab): Likewise.
188         * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
189         * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
190         * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
191
192 2013-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
193
194         * parse.c (parse_exp_in_context): New variable inner_chain.  Call
195         make_cleanup_restore_current_language.  Call set_language.  Move
196         OLD_CHAIN and INNER_CHAIN cleanups.
197         * utils.c (do_restore_current_language)
198         (make_cleanup_restore_current_language): New functions.
199         * utils.h (make_cleanup_restore_current_language): New declaration.
200
201 2013-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
202
203         * source.c (symtab_to_fullname): Apply rewrite_source_path also for
204         non-existing files.
205
206         * source.c (symtab_to_fullname): Do not prepend DIRNAME for
207         non-existing files if FILENAME is already absolute.
208
209 2013-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
210
211         * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
212         fputs_filtered.  Append trailing newline.
213
214 2013-01-11  Yao Qi  <yao@codesourcery.com>
215             Stan Shebs  <stan@codesourcery.com>
216
217         * psymtab.c (init_psymbol_list): Clarify the comment.
218
219 2013-01-11  Yao Qi  <yao@codesourcery.com>
220
221         * breakpoint.c (print_one_breakpoint_location): Remove dead code.
222         (update_dprintf_command_list): Assert that 'printf_line' is
223         non-null.  Remove condition check.
224
225 2013-01-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
226
227         Code cleanup.
228         * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
229         type const char *.
230         * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
231         const char *.
232         * tui/tui-source.h (tui_source_is_displayed): Likewise.
233
234 2013-01-09  Anthony Green  <green@moxielogic.com>
235
236         * cp-abi.c (cplus_print_vtable): Don't return value from void
237         function.
238         * ada-lang.c (re_set_catch_assert): Ditto.
239
240 2013-01-09  Doug Evans  <dje@google.com>
241
242         * symfile.h (quick_symbol_functions): Delete member
243         pre_expand_symtabs_matching.  All uses removed.
244         * dwarf2read.c (dw2_lookup_symbol): Implement.
245         (dw2_do_expand_symtabs_matching): Delete.
246         (dw2_pre_expand_symtabs_matching): Delete.
247         (struct dw2_symtab_iterator): New type.
248         (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
249         (dw2_expand_symtabs_for_function): Rewrite.
250         (dwarf2_gdb_index_functions): Update.
251         * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
252         (psym_functions): Update.
253
254 2013-01-09  Tom Tromey  <tromey@redhat.com>
255
256         * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
257         * configure: Rebuild.
258         * configure.ac: Add somread.o to the build if BFD has SOM
259         support.
260         * somread.c: Include som/aout.h, not syms.h.
261         (som_symtab_read): Use som_external_symbol_dictionary_record.
262         Unpack records manually.
263         (_initialize_somread): Declare.
264
265 2012-01-08  Mike Frysinger  <vapier@gentoo.org>
266
267         * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
268         Cast return_address to 64bits.
269
270 2013-01-08  Hui Zhu  <hui_zhu@mentor.com>
271
272         * printcmd.c: Remove define of function output_command.
273         * tracepoint.c: Remove extern of function output_command.
274         * valprint.h: (output_command): New extern.
275
276 2013-01-07  Tom Tromey  <tromey@redhat.com>
277
278         * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
279         Remove.
280         (objc_language_defn): Use c_printchar, c_printstr,
281         c_emit_char.
282
283 2013-01-07  Tom Tromey  <tromey@redhat.com>
284
285         PR cli/7719:
286         * NEWS: Update.
287         * ada-valprint.c (printstr, print_field_values): Remove
288         "inspect_it" code.
289         * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
290         code.
291         * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
292         code.
293         * m2-lang.c (m2_printstr): Remove "inspect_it" code.
294         * main.c (captured_main): Remove "epoch" argument.
295         * objc-lang.c (objc_printstr): Remove "inspect_it" code.
296         * p-lang.c (pascal_printstr): Remove "inspect_it" code.
297         * p-valprint.c (pascal_object_print_value_fields): Remove
298         "inspect_it" code.
299         * printcmd.c (print_command_1): Remove 'inspect' argument.
300         (print_command, call_command): Update.
301         (inspect_command): Remove.
302         (_initialize_printcmd): Make "inspect" an alias for "print".
303         * top.c (epoch_interface): Remove.
304         * top.h (epoch_interface): Remove.
305         * valprint.c (user_print_options): Update.
306         (print_converted_chars_to_obstack): Remove "inspect_it" code.
307         * valprint.h (struct value_print_options) <inspect_it>: Remove
308         field.
309
310 2013-01-04  Tom Tromey  <tromey@redhat.com>
311
312         * valprint.h (read_string): Add 'extern'.
313
314 2013-01-07  Joel Brobecker  <brobecker@adacore.com>
315
316         * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
317         used to decide whether to define darwin_read_dyld_info or not.
318
319 2013-01-03  Pierre Muller  <muller@sourceware.org>
320
321         * main.c (relocate_gdb_directory): Avoid calling stat function
322         if DIR is empty.
323
324 2013-01-03  Yao Qi  <yao@codesourcery.com>
325
326         * psymtab.c (fixup_psymbol_section): Update declaration.
327         (fixup_psymbol_section): Remove code returning value.
328
329 2013-01-03  Yao Qi  <yao@codesourcery.com>
330
331         * symtab.h: Remove some out of date comments.
332          (enum exception_event_kind): Move it ...
333         * breakpoint.c: ... here.
334
335 2013-01-02  Iain Sandoe  <developer@sandoe-acoustics.co.uk>
336
337         PR gdb/14405
338         * darwin-nat.c (darwin_read_dyld_info): Only build if
339         TASK_DYLD_INFO_COUNT is defined.
340         (darwin_xfer_partial): Call darwin_read_dyld_info only if
341         TASK_DYLD_INFO_COUNT is defined.
342
343 2013-01-02  Tom Tromey  <tromey@redhat.com>
344
345         * symfile.h (struct ecoff_debug_hack): Remove.
346         * objfiles.c: Don't include mdebugread.h.
347
348 2013-01-02  Tom Tromey  <tromey@redhat.com>
349
350         * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
351         * configure.ac: Check for Mach-O support in BFD.  Update
352         CONFIG_OBS.
353         * configure: Rebuild.
354
355 2013-01-02  Tom Tromey  <tromey@redhat.com>
356
357         * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
358         * configure.ac: Use GDB_AC_CHECK_BFD.
359         * configure: Rebuild.
360
361 2013-01-01  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
362
363         * MAINTAINERS: Update my email.
364
365 2013-01-01  Joel Brobecker  <brobecker@adacore.com>
366
367         * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
368
369 2013-01-01  Joel Brobecker  <brobecker@adacore.com>
370
371         * rs6000-nat.c (bss_data_overlap): New function.
372         (vmap_symtab): Use it to adjust the .bss section's offset.
373
374 2013-01-01  Joel Brobecker  <brobecker@adacore.com>
375
376         Update year range in copyright notice of all files.
377
378 2013-01-01, 13  Joel Brobecker  <brobecker@adacore.com>
379
380         * top.c (print_gdb_version): Update copyright year.
381
382 For older changes see ChangeLog-2012.
383 \f
384 Local Variables:
385 mode: change-log
386 left-margin: 8
387 fill-column: 74
388 version-control: never
389 coding: utf-8
390 End: