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