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