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