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