1 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3 * jit.c (jit_reader_load_command): Interpret the jit reader name
4 as an absolute path if it begins with a forward slash.
6 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10 * jit.c (finalize_symtab): Ensure that only the global block has a
13 2013-01-17 Pedro Alves <palves@redhat.com>
15 * acinclude.m4: Include ../config/plugins.m4,
16 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
17 * Makefile.in (aclocal_m4_deps): Update.
18 * aclocal.m4: Renegerate.
20 2013-01-16 Doug Evans <dje@google.com>
22 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
24 2013-01-16 Pedro Alves <palves@redhat.com>
25 Tom Tromey <tromey@redhat.com>
28 * NEWS: Add "catch signal".
29 * breakpoint.c (base_breakpoint_ops): No longer static.
30 (bpstat_explains_signal): New function.
31 (init_catchpoint): No longer static.
32 (base_breakpoint_explains_signal): New function.
33 (base_breakpoint_ops): Initialize new field.
34 * breakpoint.h (enum bpstat_signal_value): New.
35 (struct breakpoint_ops) <explains_signal>: New field.
36 (bpstat_explains_signal): Remove macro, declare as function.
37 (base_breakpoint_ops, init_catchpoint): Declare.
38 * break-catch-sig.c: New file.
39 * inferior.h (signal_catch_update): Declare.
40 * infrun.c (signal_catch): New global.
41 (handle_syscall_event): Update for change to
42 bpstat_explains_signal.
43 (handle_inferior_event): Likewise. Always handle random signals
45 (signal_cache_update): Check signal_catch.
46 (signal_catch_update): New function.
47 (_initialize_infrun): Initialize signal_catch.
48 * Makefile.in (SFILES): Add break-catch-sig.c.
49 (COMMON_OBS): Add break-catch-sig.o.
51 2013-01-16 Tom Tromey <tromey@redhat.com>
53 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
54 (print_one_catch_solib, print_one_catch_syscall)
55 (print_one_catch_exec, print_one_exception_catchpoint): Emit
58 2013-01-16 Yao Qi <yao@codesourcery.com>
60 * printcmd.c (current_display_number): Make it static.
62 2013-01-16 Yao Qi <yao@codesourcery.com>
64 * infcmd.c (step_once): Don't check '!single_inst' as it was
67 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
69 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
71 2013-01-14 Tom Tromey <tromey@redhat.com>
73 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
75 * command.h (add_setshow_string_noescape_cmd): Update.
76 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
77 (complete_set_gnutarget): New function.
78 (_initialize_core): Set the "set gnutarget" completer.
80 2013-01-14 Tom Tromey <tromey@redhat.com>
83 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
84 (c_type_print_modifier): Likewise.
85 * dwarf2read.c (read_tag_restrict_type): New function.
86 (read_type_die_1): Handle DW_TAG_restrict_type.
87 * gdbtypes.c (make_restrict_type): New function.
88 (recursive_dump_type): Handle TYPE_RESTRICT.
89 * gdbtypes.h (enum type_flag_values): Renumber.
90 (enum type_instance_flag_value): Add
91 TYPE_INSTANCE_FLAG_RESTRICT.
92 (TYPE_RESTRICT): New macro.
93 (make_restrict_type): Declare.
95 2013-01-14 Tom Tromey <tromey@redhat.com>
98 * psymtab.c (struct psymtab_state): New.
99 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
101 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
102 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
104 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
105 Pedro Alves <palves@redhat.com>
109 * remote.c (remote_threads_info): Make a copy of the reply from
110 qfThreadInfo and use that instead of rs->buf.
112 2013-01-14 Yao Qi <yao@codesourcery.com>
114 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
115 (dbx_psymtab_to_symtab): Likewise.
116 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
117 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
118 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
120 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
122 * parse.c (parse_exp_in_context): New variable inner_chain. Call
123 make_cleanup_restore_current_language. Call set_language. Move
124 OLD_CHAIN and INNER_CHAIN cleanups.
125 * utils.c (do_restore_current_language)
126 (make_cleanup_restore_current_language): New functions.
127 * utils.h (make_cleanup_restore_current_language): New declaration.
129 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
131 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
134 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
135 non-existing files if FILENAME is already absolute.
137 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
139 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
140 fputs_filtered. Append trailing newline.
142 2013-01-11 Yao Qi <yao@codesourcery.com>
143 Stan Shebs <stan@codesourcery.com>
145 * psymtab.c (init_psymbol_list): Clarify the comment.
147 2013-01-11 Yao Qi <yao@codesourcery.com>
149 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
150 (update_dprintf_command_list): Assert that 'printf_line' is
151 non-null. Remove condition check.
153 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
156 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
158 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
160 * tui/tui-source.h (tui_source_is_displayed): Likewise.
162 2013-01-09 Anthony Green <green@moxielogic.com>
164 * cp-abi.c (cplus_print_vtable): Don't return value from void
166 * ada-lang.c (re_set_catch_assert): Ditto.
168 2013-01-09 Doug Evans <dje@google.com>
170 * symfile.h (quick_symbol_functions): Delete member
171 pre_expand_symtabs_matching. All uses removed.
172 * dwarf2read.c (dw2_lookup_symbol): Implement.
173 (dw2_do_expand_symtabs_matching): Delete.
174 (dw2_pre_expand_symtabs_matching): Delete.
175 (struct dw2_symtab_iterator): New type.
176 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
177 (dw2_expand_symtabs_for_function): Rewrite.
178 (dwarf2_gdb_index_functions): Update.
179 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
180 (psym_functions): Update.
182 2013-01-09 Tom Tromey <tromey@redhat.com>
184 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
185 * configure: Rebuild.
186 * configure.ac: Add somread.o to the build if BFD has SOM
188 * somread.c: Include som/aout.h, not syms.h.
189 (som_symtab_read): Use som_external_symbol_dictionary_record.
190 Unpack records manually.
191 (_initialize_somread): Declare.
193 2012-01-08 Mike Frysinger <vapier@gentoo.org>
195 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
196 Cast return_address to 64bits.
198 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
200 * printcmd.c: Remove define of function output_command.
201 * tracepoint.c: Remove extern of function output_command.
202 * valprint.h: (output_command): New extern.
204 2013-01-07 Tom Tromey <tromey@redhat.com>
206 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
208 (objc_language_defn): Use c_printchar, c_printstr,
211 2013-01-07 Tom Tromey <tromey@redhat.com>
215 * ada-valprint.c (printstr, print_field_values): Remove
217 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
219 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
221 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
222 * main.c (captured_main): Remove "epoch" argument.
223 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
224 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
225 * p-valprint.c (pascal_object_print_value_fields): Remove
227 * printcmd.c (print_command_1): Remove 'inspect' argument.
228 (print_command, call_command): Update.
229 (inspect_command): Remove.
230 (_initialize_printcmd): Make "inspect" an alias for "print".
231 * top.c (epoch_interface): Remove.
232 * top.h (epoch_interface): Remove.
233 * valprint.c (user_print_options): Update.
234 (print_converted_chars_to_obstack): Remove "inspect_it" code.
235 * valprint.h (struct value_print_options) <inspect_it>: Remove
238 2013-01-04 Tom Tromey <tromey@redhat.com>
240 * valprint.h (read_string): Add 'extern'.
242 2013-01-07 Joel Brobecker <brobecker@adacore.com>
244 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
245 used to decide whether to define darwin_read_dyld_info or not.
247 2013-01-03 Pierre Muller <muller@sourceware.org>
249 * main.c (relocate_gdb_directory): Avoid calling stat function
252 2013-01-03 Yao Qi <yao@codesourcery.com>
254 * psymtab.c (fixup_psymbol_section): Update declaration.
255 (fixup_psymbol_section): Remove code returning value.
257 2013-01-03 Yao Qi <yao@codesourcery.com>
259 * symtab.h: Remove some out of date comments.
260 (enum exception_event_kind): Move it ...
261 * breakpoint.c: ... here.
263 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
266 * darwin-nat.c (darwin_read_dyld_info): Only build if
267 TASK_DYLD_INFO_COUNT is defined.
268 (darwin_xfer_partial): Call darwin_read_dyld_info only if
269 TASK_DYLD_INFO_COUNT is defined.
271 2013-01-02 Tom Tromey <tromey@redhat.com>
273 * symfile.h (struct ecoff_debug_hack): Remove.
274 * objfiles.c: Don't include mdebugread.h.
276 2013-01-02 Tom Tromey <tromey@redhat.com>
278 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
279 * configure.ac: Check for Mach-O support in BFD. Update
281 * configure: Rebuild.
283 2013-01-02 Tom Tromey <tromey@redhat.com>
285 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
286 * configure.ac: Use GDB_AC_CHECK_BFD.
287 * configure: Rebuild.
289 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
291 * MAINTAINERS: Update my email.
293 2013-01-01 Joel Brobecker <brobecker@adacore.com>
295 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
297 2013-01-01 Joel Brobecker <brobecker@adacore.com>
299 * rs6000-nat.c (bss_data_overlap): New function.
300 (vmap_symtab): Use it to adjust the .bss section's offset.
302 2013-01-01 Joel Brobecker <brobecker@adacore.com>
304 Update year range in copyright notice of all files.
306 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
308 * top.c (print_gdb_version): Update copyright year.
310 For older changes see ChangeLog-2012.
316 version-control: never