1 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
5 2013-01-14 Tom Tromey <tromey@redhat.com>
7 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
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.
14 2013-01-14 Tom Tromey <tromey@redhat.com>
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.
29 2013-01-14 Tom Tromey <tromey@redhat.com>
32 * psymtab.c (struct psymtab_state): New.
33 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
35 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
36 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
38 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
39 Pedro Alves <palves@redhat.com>
43 * remote.c (remote_threads_info): Make a copy of the reply from
44 qfThreadInfo and use that instead of rs->buf.
46 2013-01-14 Yao Qi <yao@codesourcery.com>
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.
54 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
63 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
65 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
68 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
69 non-existing files if FILENAME is already absolute.
71 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
73 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
74 fputs_filtered. Append trailing newline.
76 2013-01-11 Yao Qi <yao@codesourcery.com>
77 Stan Shebs <stan@codesourcery.com>
79 * psymtab.c (init_psymbol_list): Clarify the comment.
81 2013-01-11 Yao Qi <yao@codesourcery.com>
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.
87 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
90 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
92 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
94 * tui/tui-source.h (tui_source_is_displayed): Likewise.
96 2013-01-09 Anthony Green <green@moxielogic.com>
98 * cp-abi.c (cplus_print_vtable): Don't return value from void
100 * ada-lang.c (re_set_catch_assert): Ditto.
102 2013-01-09 Doug Evans <dje@google.com>
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.
116 2013-01-09 Tom Tromey <tromey@redhat.com>
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
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.
127 2012-01-08 Mike Frysinger <vapier@gentoo.org>
129 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
130 Cast return_address to 64bits.
132 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
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.
138 2013-01-07 Tom Tromey <tromey@redhat.com>
140 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
142 (objc_language_defn): Use c_printchar, c_printstr,
145 2013-01-07 Tom Tromey <tromey@redhat.com>
149 * ada-valprint.c (printstr, print_field_values): Remove
151 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
153 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
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
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
172 2013-01-04 Tom Tromey <tromey@redhat.com>
174 * valprint.h (read_string): Add 'extern'.
176 2013-01-07 Joel Brobecker <brobecker@adacore.com>
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.
181 2013-01-03 Pierre Muller <muller@sourceware.org>
183 * main.c (relocate_gdb_directory): Avoid calling stat function
186 2013-01-03 Yao Qi <yao@codesourcery.com>
188 * psymtab.c (fixup_psymbol_section): Update declaration.
189 (fixup_psymbol_section): Remove code returning value.
191 2013-01-03 Yao Qi <yao@codesourcery.com>
193 * symtab.h: Remove some out of date comments.
194 (enum exception_event_kind): Move it ...
195 * breakpoint.c: ... here.
197 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
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.
205 2013-01-02 Tom Tromey <tromey@redhat.com>
207 * symfile.h (struct ecoff_debug_hack): Remove.
208 * objfiles.c: Don't include mdebugread.h.
210 2013-01-02 Tom Tromey <tromey@redhat.com>
212 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
213 * configure.ac: Check for Mach-O support in BFD. Update
215 * configure: Rebuild.
217 2013-01-02 Tom Tromey <tromey@redhat.com>
219 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
220 * configure.ac: Use GDB_AC_CHECK_BFD.
221 * configure: Rebuild.
223 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
225 * MAINTAINERS: Update my email.
227 2013-01-01 Joel Brobecker <brobecker@adacore.com>
229 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
231 2013-01-01 Joel Brobecker <brobecker@adacore.com>
233 * rs6000-nat.c (bss_data_overlap): New function.
234 (vmap_symtab): Use it to adjust the .bss section's offset.
236 2013-01-01 Joel Brobecker <brobecker@adacore.com>
238 Update year range in copyright notice of all files.
240 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
242 * top.c (print_gdb_version): Update copyright year.
244 For older changes see ChangeLog-2012.
250 version-control: never