1 2013-01-21 Tom Tromey <tromey@redhat.com>
3 * dwarf2read.c (new_symbol_full): Remove cast.
4 * symtab.c (symbol_set_demangled_name): Make 'name' const.
5 * symtab.h (symbol_set_demangled_name): Update.
7 2013-01-21 Tom Tromey <tromey@redhat.com>
9 * main.c (captured_main): Call bfd_init.
11 2013-01-21 Tom Tromey <tromey@redhat.com>
13 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
14 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
15 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
18 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
22 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
24 Fix gdb.fortran/common-block.exp crash in PIE mode.
25 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
27 * f-valprint.c (info_common_command_for_block): Expect
28 LOC_COMMON_BLOCK in gdb_assert.
29 * symtab.h (struct general_symbol_info): Update comment for the
31 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
32 (enum address_class): New member LOC_COMMON_BLOCK.
34 2013-01-18 David Blaikie <dblaikie@gmail.com>
36 * MAINTAINERS (Write After Approval): Add "David Blaikie".
38 2013-01-18 Tom Tromey <tromey@redhat.com>
41 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
44 2013-01-18 Yao Qi <yao@codesourcery.com>
46 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
47 (dbx_read_symtab): New declaration.
48 (dbx_psymtab_to_symtab): Delete.
49 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
50 Rename parameter PST to SELF. Exchanged two parameters.
51 (start_psymtab): Caller update.
52 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
53 (dwarf2_read_symtab): New declaration.
54 (dwarf2_psymtab_to_symtab): Delete.
55 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
56 Rename parameter PST to SELF. Exchanged two parameters.
57 (create_partial_symtab): Caller update.
58 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
59 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
60 Rename parameter PST to SELF. Exchanged two parameters.
61 (parse_partial_symbols, new_psymtab): Caller update.
62 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
64 * psymtab.c (psymtab_to_symtab): Caller update.
65 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
66 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
67 Rename parameter PST to SELF. Exchanged two parameters.
68 (xcoff_start_psymtab): Caller update.
70 2013-01-18 Yao Qi <yao@codesourcery.com>
72 * infrun.c (proceed): Rename local variable 'oneproc' to
75 2013-01-17 Doug Evans <dje@google.com>
77 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
78 (dw2_build_type_unit_groups): Delete. All uses updated.
80 * symtab.h (struct symbol_search): Add comment.
82 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
84 * symtab.c (compare_filenames_for_search): New comment for
87 2013-01-17 Tom Tromey <tromey@redhat.com>
89 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
91 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
93 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
94 initialize it by existing make_cleanup. Call new do_cleanups.
96 2013-01-17 Tom Tromey <tromey@redhat.com>
98 * cp-abi.c (cp_abi_completer): New function.
99 (_initialize_cp_abi): Set completer for "set cp-abi".
101 2013-01-17 Tom Tromey <tromey@redhat.com>
103 * mem-break.c: Remove obsolete comment.
104 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
106 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
108 * jit.c (jit_reader_load_command): Interpret the jit reader name
109 as an absolute path if it begins with a forward slash.
111 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
115 * jit.c (finalize_symtab): Ensure that only the global block has a
118 2013-01-17 Pedro Alves <palves@redhat.com>
120 * acinclude.m4: Include ../config/plugins.m4,
121 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
122 * Makefile.in (aclocal_m4_deps): Update.
123 * aclocal.m4: Renegerate.
125 2013-01-16 Doug Evans <dje@google.com>
127 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
129 2013-01-16 Pedro Alves <palves@redhat.com>
130 Tom Tromey <tromey@redhat.com>
133 * NEWS: Add "catch signal".
134 * breakpoint.c (base_breakpoint_ops): No longer static.
135 (bpstat_explains_signal): New function.
136 (init_catchpoint): No longer static.
137 (base_breakpoint_explains_signal): New function.
138 (base_breakpoint_ops): Initialize new field.
139 * breakpoint.h (enum bpstat_signal_value): New.
140 (struct breakpoint_ops) <explains_signal>: New field.
141 (bpstat_explains_signal): Remove macro, declare as function.
142 (base_breakpoint_ops, init_catchpoint): Declare.
143 * break-catch-sig.c: New file.
144 * inferior.h (signal_catch_update): Declare.
145 * infrun.c (signal_catch): New global.
146 (handle_syscall_event): Update for change to
147 bpstat_explains_signal.
148 (handle_inferior_event): Likewise. Always handle random signals
150 (signal_cache_update): Check signal_catch.
151 (signal_catch_update): New function.
152 (_initialize_infrun): Initialize signal_catch.
153 * Makefile.in (SFILES): Add break-catch-sig.c.
154 (COMMON_OBS): Add break-catch-sig.o.
156 2013-01-16 Tom Tromey <tromey@redhat.com>
158 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
159 (print_one_catch_solib, print_one_catch_syscall)
160 (print_one_catch_exec, print_one_exception_catchpoint): Emit
163 2013-01-16 Yao Qi <yao@codesourcery.com>
165 * printcmd.c (current_display_number): Make it static.
167 2013-01-16 Yao Qi <yao@codesourcery.com>
169 * infcmd.c (step_once): Don't check '!single_inst' as it was
172 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
174 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
176 2013-01-14 Tom Tromey <tromey@redhat.com>
178 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
180 * command.h (add_setshow_string_noescape_cmd): Update.
181 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
182 (complete_set_gnutarget): New function.
183 (_initialize_core): Set the "set gnutarget" completer.
185 2013-01-14 Tom Tromey <tromey@redhat.com>
188 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
189 (c_type_print_modifier): Likewise.
190 * dwarf2read.c (read_tag_restrict_type): New function.
191 (read_type_die_1): Handle DW_TAG_restrict_type.
192 * gdbtypes.c (make_restrict_type): New function.
193 (recursive_dump_type): Handle TYPE_RESTRICT.
194 * gdbtypes.h (enum type_flag_values): Renumber.
195 (enum type_instance_flag_value): Add
196 TYPE_INSTANCE_FLAG_RESTRICT.
197 (TYPE_RESTRICT): New macro.
198 (make_restrict_type): Declare.
200 2013-01-14 Tom Tromey <tromey@redhat.com>
203 * psymtab.c (struct psymtab_state): New.
204 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
206 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
207 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
209 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
210 Pedro Alves <palves@redhat.com>
214 * remote.c (remote_threads_info): Make a copy of the reply from
215 qfThreadInfo and use that instead of rs->buf.
217 2013-01-14 Yao Qi <yao@codesourcery.com>
219 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
220 (dbx_psymtab_to_symtab): Likewise.
221 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
222 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
223 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
225 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
227 * parse.c (parse_exp_in_context): New variable inner_chain. Call
228 make_cleanup_restore_current_language. Call set_language. Move
229 OLD_CHAIN and INNER_CHAIN cleanups.
230 * utils.c (do_restore_current_language)
231 (make_cleanup_restore_current_language): New functions.
232 * utils.h (make_cleanup_restore_current_language): New declaration.
234 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
236 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
239 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
240 non-existing files if FILENAME is already absolute.
242 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
244 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
245 fputs_filtered. Append trailing newline.
247 2013-01-11 Yao Qi <yao@codesourcery.com>
248 Stan Shebs <stan@codesourcery.com>
250 * psymtab.c (init_psymbol_list): Clarify the comment.
252 2013-01-11 Yao Qi <yao@codesourcery.com>
254 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
255 (update_dprintf_command_list): Assert that 'printf_line' is
256 non-null. Remove condition check.
258 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
261 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
263 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
265 * tui/tui-source.h (tui_source_is_displayed): Likewise.
267 2013-01-09 Anthony Green <green@moxielogic.com>
269 * cp-abi.c (cplus_print_vtable): Don't return value from void
271 * ada-lang.c (re_set_catch_assert): Ditto.
273 2013-01-09 Doug Evans <dje@google.com>
275 * symfile.h (quick_symbol_functions): Delete member
276 pre_expand_symtabs_matching. All uses removed.
277 * dwarf2read.c (dw2_lookup_symbol): Implement.
278 (dw2_do_expand_symtabs_matching): Delete.
279 (dw2_pre_expand_symtabs_matching): Delete.
280 (struct dw2_symtab_iterator): New type.
281 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
282 (dw2_expand_symtabs_for_function): Rewrite.
283 (dwarf2_gdb_index_functions): Update.
284 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
285 (psym_functions): Update.
287 2013-01-09 Tom Tromey <tromey@redhat.com>
289 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
290 * configure: Rebuild.
291 * configure.ac: Add somread.o to the build if BFD has SOM
293 * somread.c: Include som/aout.h, not syms.h.
294 (som_symtab_read): Use som_external_symbol_dictionary_record.
295 Unpack records manually.
296 (_initialize_somread): Declare.
298 2012-01-08 Mike Frysinger <vapier@gentoo.org>
300 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
301 Cast return_address to 64bits.
303 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
305 * printcmd.c: Remove define of function output_command.
306 * tracepoint.c: Remove extern of function output_command.
307 * valprint.h: (output_command): New extern.
309 2013-01-07 Tom Tromey <tromey@redhat.com>
311 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
313 (objc_language_defn): Use c_printchar, c_printstr,
316 2013-01-07 Tom Tromey <tromey@redhat.com>
320 * ada-valprint.c (printstr, print_field_values): Remove
322 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
324 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
326 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
327 * main.c (captured_main): Remove "epoch" argument.
328 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
329 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
330 * p-valprint.c (pascal_object_print_value_fields): Remove
332 * printcmd.c (print_command_1): Remove 'inspect' argument.
333 (print_command, call_command): Update.
334 (inspect_command): Remove.
335 (_initialize_printcmd): Make "inspect" an alias for "print".
336 * top.c (epoch_interface): Remove.
337 * top.h (epoch_interface): Remove.
338 * valprint.c (user_print_options): Update.
339 (print_converted_chars_to_obstack): Remove "inspect_it" code.
340 * valprint.h (struct value_print_options) <inspect_it>: Remove
343 2013-01-04 Tom Tromey <tromey@redhat.com>
345 * valprint.h (read_string): Add 'extern'.
347 2013-01-07 Joel Brobecker <brobecker@adacore.com>
349 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
350 used to decide whether to define darwin_read_dyld_info or not.
352 2013-01-03 Pierre Muller <muller@sourceware.org>
354 * main.c (relocate_gdb_directory): Avoid calling stat function
357 2013-01-03 Yao Qi <yao@codesourcery.com>
359 * psymtab.c (fixup_psymbol_section): Update declaration.
360 (fixup_psymbol_section): Remove code returning value.
362 2013-01-03 Yao Qi <yao@codesourcery.com>
364 * symtab.h: Remove some out of date comments.
365 (enum exception_event_kind): Move it ...
366 * breakpoint.c: ... here.
368 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
371 * darwin-nat.c (darwin_read_dyld_info): Only build if
372 TASK_DYLD_INFO_COUNT is defined.
373 (darwin_xfer_partial): Call darwin_read_dyld_info only if
374 TASK_DYLD_INFO_COUNT is defined.
376 2013-01-02 Tom Tromey <tromey@redhat.com>
378 * symfile.h (struct ecoff_debug_hack): Remove.
379 * objfiles.c: Don't include mdebugread.h.
381 2013-01-02 Tom Tromey <tromey@redhat.com>
383 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
384 * configure.ac: Check for Mach-O support in BFD. Update
386 * configure: Rebuild.
388 2013-01-02 Tom Tromey <tromey@redhat.com>
390 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
391 * configure.ac: Use GDB_AC_CHECK_BFD.
392 * configure: Rebuild.
394 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
396 * MAINTAINERS: Update my email.
398 2013-01-01 Joel Brobecker <brobecker@adacore.com>
400 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
402 2013-01-01 Joel Brobecker <brobecker@adacore.com>
404 * rs6000-nat.c (bss_data_overlap): New function.
405 (vmap_symtab): Use it to adjust the .bss section's offset.
407 2013-01-01 Joel Brobecker <brobecker@adacore.com>
409 Update year range in copyright notice of all files.
411 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
413 * top.c (print_gdb_version): Update copyright year.
415 For older changes see ChangeLog-2012.
421 version-control: never