1 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
5 * jit.c (finalize_symtab): Ensure that only the global block has a
8 2013-01-17 Pedro Alves <palves@redhat.com>
10 * acinclude.m4: Include ../config/plugins.m4,
11 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
12 * Makefile.in (aclocal_m4_deps): Update.
13 * aclocal.m4: Renegerate.
15 2013-01-16 Doug Evans <dje@google.com>
17 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
19 2013-01-16 Pedro Alves <palves@redhat.com>
20 Tom Tromey <tromey@redhat.com>
23 * NEWS: Add "catch signal".
24 * breakpoint.c (base_breakpoint_ops): No longer static.
25 (bpstat_explains_signal): New function.
26 (init_catchpoint): No longer static.
27 (base_breakpoint_explains_signal): New function.
28 (base_breakpoint_ops): Initialize new field.
29 * breakpoint.h (enum bpstat_signal_value): New.
30 (struct breakpoint_ops) <explains_signal>: New field.
31 (bpstat_explains_signal): Remove macro, declare as function.
32 (base_breakpoint_ops, init_catchpoint): Declare.
33 * break-catch-sig.c: New file.
34 * inferior.h (signal_catch_update): Declare.
35 * infrun.c (signal_catch): New global.
36 (handle_syscall_event): Update for change to
37 bpstat_explains_signal.
38 (handle_inferior_event): Likewise. Always handle random signals
40 (signal_cache_update): Check signal_catch.
41 (signal_catch_update): New function.
42 (_initialize_infrun): Initialize signal_catch.
43 * Makefile.in (SFILES): Add break-catch-sig.c.
44 (COMMON_OBS): Add break-catch-sig.o.
46 2013-01-16 Tom Tromey <tromey@redhat.com>
48 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
49 (print_one_catch_solib, print_one_catch_syscall)
50 (print_one_catch_exec, print_one_exception_catchpoint): Emit
53 2013-01-16 Yao Qi <yao@codesourcery.com>
55 * printcmd.c (current_display_number): Make it static.
57 2013-01-16 Yao Qi <yao@codesourcery.com>
59 * infcmd.c (step_once): Don't check '!single_inst' as it was
62 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
64 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
66 2013-01-14 Tom Tromey <tromey@redhat.com>
68 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
70 * command.h (add_setshow_string_noescape_cmd): Update.
71 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
72 (complete_set_gnutarget): New function.
73 (_initialize_core): Set the "set gnutarget" completer.
75 2013-01-14 Tom Tromey <tromey@redhat.com>
78 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
79 (c_type_print_modifier): Likewise.
80 * dwarf2read.c (read_tag_restrict_type): New function.
81 (read_type_die_1): Handle DW_TAG_restrict_type.
82 * gdbtypes.c (make_restrict_type): New function.
83 (recursive_dump_type): Handle TYPE_RESTRICT.
84 * gdbtypes.h (enum type_flag_values): Renumber.
85 (enum type_instance_flag_value): Add
86 TYPE_INSTANCE_FLAG_RESTRICT.
87 (TYPE_RESTRICT): New macro.
88 (make_restrict_type): Declare.
90 2013-01-14 Tom Tromey <tromey@redhat.com>
93 * psymtab.c (struct psymtab_state): New.
94 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
96 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
97 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
99 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
100 Pedro Alves <palves@redhat.com>
104 * remote.c (remote_threads_info): Make a copy of the reply from
105 qfThreadInfo and use that instead of rs->buf.
107 2013-01-14 Yao Qi <yao@codesourcery.com>
109 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
110 (dbx_psymtab_to_symtab): Likewise.
111 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
112 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
113 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
115 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
117 * parse.c (parse_exp_in_context): New variable inner_chain. Call
118 make_cleanup_restore_current_language. Call set_language. Move
119 OLD_CHAIN and INNER_CHAIN cleanups.
120 * utils.c (do_restore_current_language)
121 (make_cleanup_restore_current_language): New functions.
122 * utils.h (make_cleanup_restore_current_language): New declaration.
124 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
126 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
129 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
130 non-existing files if FILENAME is already absolute.
132 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
134 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
135 fputs_filtered. Append trailing newline.
137 2013-01-11 Yao Qi <yao@codesourcery.com>
138 Stan Shebs <stan@codesourcery.com>
140 * psymtab.c (init_psymbol_list): Clarify the comment.
142 2013-01-11 Yao Qi <yao@codesourcery.com>
144 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
145 (update_dprintf_command_list): Assert that 'printf_line' is
146 non-null. Remove condition check.
148 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
151 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
153 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
155 * tui/tui-source.h (tui_source_is_displayed): Likewise.
157 2013-01-09 Anthony Green <green@moxielogic.com>
159 * cp-abi.c (cplus_print_vtable): Don't return value from void
161 * ada-lang.c (re_set_catch_assert): Ditto.
163 2013-01-09 Doug Evans <dje@google.com>
165 * symfile.h (quick_symbol_functions): Delete member
166 pre_expand_symtabs_matching. All uses removed.
167 * dwarf2read.c (dw2_lookup_symbol): Implement.
168 (dw2_do_expand_symtabs_matching): Delete.
169 (dw2_pre_expand_symtabs_matching): Delete.
170 (struct dw2_symtab_iterator): New type.
171 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
172 (dw2_expand_symtabs_for_function): Rewrite.
173 (dwarf2_gdb_index_functions): Update.
174 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
175 (psym_functions): Update.
177 2013-01-09 Tom Tromey <tromey@redhat.com>
179 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
180 * configure: Rebuild.
181 * configure.ac: Add somread.o to the build if BFD has SOM
183 * somread.c: Include som/aout.h, not syms.h.
184 (som_symtab_read): Use som_external_symbol_dictionary_record.
185 Unpack records manually.
186 (_initialize_somread): Declare.
188 2012-01-08 Mike Frysinger <vapier@gentoo.org>
190 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
191 Cast return_address to 64bits.
193 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
195 * printcmd.c: Remove define of function output_command.
196 * tracepoint.c: Remove extern of function output_command.
197 * valprint.h: (output_command): New extern.
199 2013-01-07 Tom Tromey <tromey@redhat.com>
201 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
203 (objc_language_defn): Use c_printchar, c_printstr,
206 2013-01-07 Tom Tromey <tromey@redhat.com>
210 * ada-valprint.c (printstr, print_field_values): Remove
212 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
214 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
216 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
217 * main.c (captured_main): Remove "epoch" argument.
218 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
219 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
220 * p-valprint.c (pascal_object_print_value_fields): Remove
222 * printcmd.c (print_command_1): Remove 'inspect' argument.
223 (print_command, call_command): Update.
224 (inspect_command): Remove.
225 (_initialize_printcmd): Make "inspect" an alias for "print".
226 * top.c (epoch_interface): Remove.
227 * top.h (epoch_interface): Remove.
228 * valprint.c (user_print_options): Update.
229 (print_converted_chars_to_obstack): Remove "inspect_it" code.
230 * valprint.h (struct value_print_options) <inspect_it>: Remove
233 2013-01-04 Tom Tromey <tromey@redhat.com>
235 * valprint.h (read_string): Add 'extern'.
237 2013-01-07 Joel Brobecker <brobecker@adacore.com>
239 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
240 used to decide whether to define darwin_read_dyld_info or not.
242 2013-01-03 Pierre Muller <muller@sourceware.org>
244 * main.c (relocate_gdb_directory): Avoid calling stat function
247 2013-01-03 Yao Qi <yao@codesourcery.com>
249 * psymtab.c (fixup_psymbol_section): Update declaration.
250 (fixup_psymbol_section): Remove code returning value.
252 2013-01-03 Yao Qi <yao@codesourcery.com>
254 * symtab.h: Remove some out of date comments.
255 (enum exception_event_kind): Move it ...
256 * breakpoint.c: ... here.
258 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
261 * darwin-nat.c (darwin_read_dyld_info): Only build if
262 TASK_DYLD_INFO_COUNT is defined.
263 (darwin_xfer_partial): Call darwin_read_dyld_info only if
264 TASK_DYLD_INFO_COUNT is defined.
266 2013-01-02 Tom Tromey <tromey@redhat.com>
268 * symfile.h (struct ecoff_debug_hack): Remove.
269 * objfiles.c: Don't include mdebugread.h.
271 2013-01-02 Tom Tromey <tromey@redhat.com>
273 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
274 * configure.ac: Check for Mach-O support in BFD. Update
276 * configure: Rebuild.
278 2013-01-02 Tom Tromey <tromey@redhat.com>
280 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
281 * configure.ac: Use GDB_AC_CHECK_BFD.
282 * configure: Rebuild.
284 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
286 * MAINTAINERS: Update my email.
288 2013-01-01 Joel Brobecker <brobecker@adacore.com>
290 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
292 2013-01-01 Joel Brobecker <brobecker@adacore.com>
294 * rs6000-nat.c (bss_data_overlap): New function.
295 (vmap_symtab): Use it to adjust the .bss section's offset.
297 2013-01-01 Joel Brobecker <brobecker@adacore.com>
299 Update year range in copyright notice of all files.
301 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
303 * top.c (print_gdb_version): Update copyright year.
305 For older changes see ChangeLog-2012.
311 version-control: never