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