1 2013-01-18 Yao Qi <yao@codesourcery.com>
3 * infrun.c (proceed): Rename local variable 'oneproc' to
6 2013-01-17 Doug Evans <dje@google.com>
8 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
9 (dw2_build_type_unit_groups): Delete. All uses updated.
11 * symtab.h (struct symbol_search): Add comment.
13 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15 * symtab.c (compare_filenames_for_search): New comment for
18 2013-01-17 Tom Tromey <tromey@redhat.com>
20 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
22 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
24 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
25 initialize it by existing make_cleanup. Call new do_cleanups.
27 2013-01-17 Tom Tromey <tromey@redhat.com>
29 * cp-abi.c (cp_abi_completer): New function.
30 (_initialize_cp_abi): Set completer for "set cp-abi".
32 2013-01-17 Tom Tromey <tromey@redhat.com>
34 * mem-break.c: Remove obsolete comment.
35 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
37 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
39 * jit.c (jit_reader_load_command): Interpret the jit reader name
40 as an absolute path if it begins with a forward slash.
42 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
46 * jit.c (finalize_symtab): Ensure that only the global block has a
49 2013-01-17 Pedro Alves <palves@redhat.com>
51 * acinclude.m4: Include ../config/plugins.m4,
52 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
53 * Makefile.in (aclocal_m4_deps): Update.
54 * aclocal.m4: Renegerate.
56 2013-01-16 Doug Evans <dje@google.com>
58 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
60 2013-01-16 Pedro Alves <palves@redhat.com>
61 Tom Tromey <tromey@redhat.com>
64 * NEWS: Add "catch signal".
65 * breakpoint.c (base_breakpoint_ops): No longer static.
66 (bpstat_explains_signal): New function.
67 (init_catchpoint): No longer static.
68 (base_breakpoint_explains_signal): New function.
69 (base_breakpoint_ops): Initialize new field.
70 * breakpoint.h (enum bpstat_signal_value): New.
71 (struct breakpoint_ops) <explains_signal>: New field.
72 (bpstat_explains_signal): Remove macro, declare as function.
73 (base_breakpoint_ops, init_catchpoint): Declare.
74 * break-catch-sig.c: New file.
75 * inferior.h (signal_catch_update): Declare.
76 * infrun.c (signal_catch): New global.
77 (handle_syscall_event): Update for change to
78 bpstat_explains_signal.
79 (handle_inferior_event): Likewise. Always handle random signals
81 (signal_cache_update): Check signal_catch.
82 (signal_catch_update): New function.
83 (_initialize_infrun): Initialize signal_catch.
84 * Makefile.in (SFILES): Add break-catch-sig.c.
85 (COMMON_OBS): Add break-catch-sig.o.
87 2013-01-16 Tom Tromey <tromey@redhat.com>
89 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
90 (print_one_catch_solib, print_one_catch_syscall)
91 (print_one_catch_exec, print_one_exception_catchpoint): Emit
94 2013-01-16 Yao Qi <yao@codesourcery.com>
96 * printcmd.c (current_display_number): Make it static.
98 2013-01-16 Yao Qi <yao@codesourcery.com>
100 * infcmd.c (step_once): Don't check '!single_inst' as it was
103 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
105 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
107 2013-01-14 Tom Tromey <tromey@redhat.com>
109 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
111 * command.h (add_setshow_string_noescape_cmd): Update.
112 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
113 (complete_set_gnutarget): New function.
114 (_initialize_core): Set the "set gnutarget" completer.
116 2013-01-14 Tom Tromey <tromey@redhat.com>
119 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
120 (c_type_print_modifier): Likewise.
121 * dwarf2read.c (read_tag_restrict_type): New function.
122 (read_type_die_1): Handle DW_TAG_restrict_type.
123 * gdbtypes.c (make_restrict_type): New function.
124 (recursive_dump_type): Handle TYPE_RESTRICT.
125 * gdbtypes.h (enum type_flag_values): Renumber.
126 (enum type_instance_flag_value): Add
127 TYPE_INSTANCE_FLAG_RESTRICT.
128 (TYPE_RESTRICT): New macro.
129 (make_restrict_type): Declare.
131 2013-01-14 Tom Tromey <tromey@redhat.com>
134 * psymtab.c (struct psymtab_state): New.
135 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
137 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
138 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
140 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
141 Pedro Alves <palves@redhat.com>
145 * remote.c (remote_threads_info): Make a copy of the reply from
146 qfThreadInfo and use that instead of rs->buf.
148 2013-01-14 Yao Qi <yao@codesourcery.com>
150 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
151 (dbx_psymtab_to_symtab): Likewise.
152 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
153 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
154 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
156 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
158 * parse.c (parse_exp_in_context): New variable inner_chain. Call
159 make_cleanup_restore_current_language. Call set_language. Move
160 OLD_CHAIN and INNER_CHAIN cleanups.
161 * utils.c (do_restore_current_language)
162 (make_cleanup_restore_current_language): New functions.
163 * utils.h (make_cleanup_restore_current_language): New declaration.
165 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
167 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
170 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
171 non-existing files if FILENAME is already absolute.
173 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
175 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
176 fputs_filtered. Append trailing newline.
178 2013-01-11 Yao Qi <yao@codesourcery.com>
179 Stan Shebs <stan@codesourcery.com>
181 * psymtab.c (init_psymbol_list): Clarify the comment.
183 2013-01-11 Yao Qi <yao@codesourcery.com>
185 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
186 (update_dprintf_command_list): Assert that 'printf_line' is
187 non-null. Remove condition check.
189 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
192 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
194 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
196 * tui/tui-source.h (tui_source_is_displayed): Likewise.
198 2013-01-09 Anthony Green <green@moxielogic.com>
200 * cp-abi.c (cplus_print_vtable): Don't return value from void
202 * ada-lang.c (re_set_catch_assert): Ditto.
204 2013-01-09 Doug Evans <dje@google.com>
206 * symfile.h (quick_symbol_functions): Delete member
207 pre_expand_symtabs_matching. All uses removed.
208 * dwarf2read.c (dw2_lookup_symbol): Implement.
209 (dw2_do_expand_symtabs_matching): Delete.
210 (dw2_pre_expand_symtabs_matching): Delete.
211 (struct dw2_symtab_iterator): New type.
212 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
213 (dw2_expand_symtabs_for_function): Rewrite.
214 (dwarf2_gdb_index_functions): Update.
215 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
216 (psym_functions): Update.
218 2013-01-09 Tom Tromey <tromey@redhat.com>
220 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
221 * configure: Rebuild.
222 * configure.ac: Add somread.o to the build if BFD has SOM
224 * somread.c: Include som/aout.h, not syms.h.
225 (som_symtab_read): Use som_external_symbol_dictionary_record.
226 Unpack records manually.
227 (_initialize_somread): Declare.
229 2012-01-08 Mike Frysinger <vapier@gentoo.org>
231 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
232 Cast return_address to 64bits.
234 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
236 * printcmd.c: Remove define of function output_command.
237 * tracepoint.c: Remove extern of function output_command.
238 * valprint.h: (output_command): New extern.
240 2013-01-07 Tom Tromey <tromey@redhat.com>
242 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
244 (objc_language_defn): Use c_printchar, c_printstr,
247 2013-01-07 Tom Tromey <tromey@redhat.com>
251 * ada-valprint.c (printstr, print_field_values): Remove
253 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
255 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
257 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
258 * main.c (captured_main): Remove "epoch" argument.
259 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
260 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
261 * p-valprint.c (pascal_object_print_value_fields): Remove
263 * printcmd.c (print_command_1): Remove 'inspect' argument.
264 (print_command, call_command): Update.
265 (inspect_command): Remove.
266 (_initialize_printcmd): Make "inspect" an alias for "print".
267 * top.c (epoch_interface): Remove.
268 * top.h (epoch_interface): Remove.
269 * valprint.c (user_print_options): Update.
270 (print_converted_chars_to_obstack): Remove "inspect_it" code.
271 * valprint.h (struct value_print_options) <inspect_it>: Remove
274 2013-01-04 Tom Tromey <tromey@redhat.com>
276 * valprint.h (read_string): Add 'extern'.
278 2013-01-07 Joel Brobecker <brobecker@adacore.com>
280 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
281 used to decide whether to define darwin_read_dyld_info or not.
283 2013-01-03 Pierre Muller <muller@sourceware.org>
285 * main.c (relocate_gdb_directory): Avoid calling stat function
288 2013-01-03 Yao Qi <yao@codesourcery.com>
290 * psymtab.c (fixup_psymbol_section): Update declaration.
291 (fixup_psymbol_section): Remove code returning value.
293 2013-01-03 Yao Qi <yao@codesourcery.com>
295 * symtab.h: Remove some out of date comments.
296 (enum exception_event_kind): Move it ...
297 * breakpoint.c: ... here.
299 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
302 * darwin-nat.c (darwin_read_dyld_info): Only build if
303 TASK_DYLD_INFO_COUNT is defined.
304 (darwin_xfer_partial): Call darwin_read_dyld_info only if
305 TASK_DYLD_INFO_COUNT is defined.
307 2013-01-02 Tom Tromey <tromey@redhat.com>
309 * symfile.h (struct ecoff_debug_hack): Remove.
310 * objfiles.c: Don't include mdebugread.h.
312 2013-01-02 Tom Tromey <tromey@redhat.com>
314 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
315 * configure.ac: Check for Mach-O support in BFD. Update
317 * configure: Rebuild.
319 2013-01-02 Tom Tromey <tromey@redhat.com>
321 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
322 * configure.ac: Use GDB_AC_CHECK_BFD.
323 * configure: Rebuild.
325 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
327 * MAINTAINERS: Update my email.
329 2013-01-01 Joel Brobecker <brobecker@adacore.com>
331 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
333 2013-01-01 Joel Brobecker <brobecker@adacore.com>
335 * rs6000-nat.c (bss_data_overlap): New function.
336 (vmap_symtab): Use it to adjust the .bss section's offset.
338 2013-01-01 Joel Brobecker <brobecker@adacore.com>
340 Update year range in copyright notice of all files.
342 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
344 * top.c (print_gdb_version): Update copyright year.
346 For older changes see ChangeLog-2012.
352 version-control: never