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