2013-01-03 Pedro Alves <palves@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2013-01-16 Pedro Alves <palves@redhat.com>
2 Tom Tromey <tromey@redhat.com>
3
4 PR cli/7221:
5 * NEWS: Add "catch signal".
6 * breakpoint.c (base_breakpoint_ops): No longer static.
7 (bpstat_explains_signal): New function.
8 (init_catchpoint): No longer static.
9 (base_breakpoint_explains_signal): New function.
10 (base_breakpoint_ops): Initialize new field.
11 * breakpoint.h (enum bpstat_signal_value): New.
12 (struct breakpoint_ops) <explains_signal>: New field.
13 (bpstat_explains_signal): Remove macro, declare as function.
14 (base_breakpoint_ops, init_catchpoint): Declare.
15 * break-catch-sig.c: New file.
16 * inferior.h (signal_catch_update): Declare.
17 * infrun.c (signal_catch): New global.
18 (handle_syscall_event): Update for change to
19 bpstat_explains_signal.
20 (handle_inferior_event): Likewise. Always handle random signals
21 via bpstats.
22 (signal_cache_update): Check signal_catch.
23 (signal_catch_update): New function.
24 (_initialize_infrun): Initialize signal_catch.
25 * Makefile.in (SFILES): Add break-catch-sig.c.
26 (COMMON_OBS): Add break-catch-sig.o.
27
28 2013-01-16 Tom Tromey <tromey@redhat.com>
29
30 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
31 (print_one_catch_solib, print_one_catch_syscall)
32 (print_one_catch_exec, print_one_exception_catchpoint): Emit
33 "catch-type".
34
35 2013-01-16 Yao Qi <yao@codesourcery.com>
36
37 * printcmd.c (current_display_number): Make it static.
38
39 2013-01-16 Yao Qi <yao@codesourcery.com>
40
41 * infcmd.c (step_once): Don't check '!single_inst' as it was
42 checked before.
43
44 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
45
46 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
47
48 2013-01-14 Tom Tromey <tromey@redhat.com>
49
50 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
51 set command.
52 * command.h (add_setshow_string_noescape_cmd): Update.
53 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
54 (complete_set_gnutarget): New function.
55 (_initialize_core): Set the "set gnutarget" completer.
56
57 2013-01-14 Tom Tromey <tromey@redhat.com>
58
59 PR symtab/14442:
60 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
61 (c_type_print_modifier): Likewise.
62 * dwarf2read.c (read_tag_restrict_type): New function.
63 (read_type_die_1): Handle DW_TAG_restrict_type.
64 * gdbtypes.c (make_restrict_type): New function.
65 (recursive_dump_type): Handle TYPE_RESTRICT.
66 * gdbtypes.h (enum type_flag_values): Renumber.
67 (enum type_instance_flag_value): Add
68 TYPE_INSTANCE_FLAG_RESTRICT.
69 (TYPE_RESTRICT): New macro.
70 (make_restrict_type): Declare.
71
72 2013-01-14 Tom Tromey <tromey@redhat.com>
73
74 PR symtab/14931:
75 * psymtab.c (struct psymtab_state): New.
76 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
77 functions.
78 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
79 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
80
81 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
82 Pedro Alves <palves@redhat.com>
83
84 PR remote/14786
85
86 * remote.c (remote_threads_info): Make a copy of the reply from
87 qfThreadInfo and use that instead of rs->buf.
88
89 2013-01-14 Yao Qi <yao@codesourcery.com>
90
91 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
92 (dbx_psymtab_to_symtab): Likewise.
93 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
94 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
95 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
96
97 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
98
99 * parse.c (parse_exp_in_context): New variable inner_chain. Call
100 make_cleanup_restore_current_language. Call set_language. Move
101 OLD_CHAIN and INNER_CHAIN cleanups.
102 * utils.c (do_restore_current_language)
103 (make_cleanup_restore_current_language): New functions.
104 * utils.h (make_cleanup_restore_current_language): New declaration.
105
106 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
107
108 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
109 non-existing files.
110
111 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
112 non-existing files if FILENAME is already absolute.
113
114 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
115
116 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
117 fputs_filtered. Append trailing newline.
118
119 2013-01-11 Yao Qi <yao@codesourcery.com>
120 Stan Shebs <stan@codesourcery.com>
121
122 * psymtab.c (init_psymbol_list): Clarify the comment.
123
124 2013-01-11 Yao Qi <yao@codesourcery.com>
125
126 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
127 (update_dprintf_command_list): Assert that 'printf_line' is
128 non-null. Remove condition check.
129
130 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
131
132 Code cleanup.
133 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
134 type const char *.
135 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
136 const char *.
137 * tui/tui-source.h (tui_source_is_displayed): Likewise.
138
139 2013-01-09 Anthony Green <green@moxielogic.com>
140
141 * cp-abi.c (cplus_print_vtable): Don't return value from void
142 function.
143 * ada-lang.c (re_set_catch_assert): Ditto.
144
145 2013-01-09 Doug Evans <dje@google.com>
146
147 * symfile.h (quick_symbol_functions): Delete member
148 pre_expand_symtabs_matching. All uses removed.
149 * dwarf2read.c (dw2_lookup_symbol): Implement.
150 (dw2_do_expand_symtabs_matching): Delete.
151 (dw2_pre_expand_symtabs_matching): Delete.
152 (struct dw2_symtab_iterator): New type.
153 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
154 (dw2_expand_symtabs_for_function): Rewrite.
155 (dwarf2_gdb_index_functions): Update.
156 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
157 (psym_functions): Update.
158
159 2013-01-09 Tom Tromey <tromey@redhat.com>
160
161 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
162 * configure: Rebuild.
163 * configure.ac: Add somread.o to the build if BFD has SOM
164 support.
165 * somread.c: Include som/aout.h, not syms.h.
166 (som_symtab_read): Use som_external_symbol_dictionary_record.
167 Unpack records manually.
168 (_initialize_somread): Declare.
169
170 2012-01-08 Mike Frysinger <vapier@gentoo.org>
171
172 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
173 Cast return_address to 64bits.
174
175 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
176
177 * printcmd.c: Remove define of function output_command.
178 * tracepoint.c: Remove extern of function output_command.
179 * valprint.h: (output_command): New extern.
180
181 2013-01-07 Tom Tromey <tromey@redhat.com>
182
183 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
184 Remove.
185 (objc_language_defn): Use c_printchar, c_printstr,
186 c_emit_char.
187
188 2013-01-07 Tom Tromey <tromey@redhat.com>
189
190 PR cli/7719:
191 * NEWS: Update.
192 * ada-valprint.c (printstr, print_field_values): Remove
193 "inspect_it" code.
194 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
195 code.
196 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
197 code.
198 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
199 * main.c (captured_main): Remove "epoch" argument.
200 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
201 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
202 * p-valprint.c (pascal_object_print_value_fields): Remove
203 "inspect_it" code.
204 * printcmd.c (print_command_1): Remove 'inspect' argument.
205 (print_command, call_command): Update.
206 (inspect_command): Remove.
207 (_initialize_printcmd): Make "inspect" an alias for "print".
208 * top.c (epoch_interface): Remove.
209 * top.h (epoch_interface): Remove.
210 * valprint.c (user_print_options): Update.
211 (print_converted_chars_to_obstack): Remove "inspect_it" code.
212 * valprint.h (struct value_print_options) <inspect_it>: Remove
213 field.
214
215 2013-01-04 Tom Tromey <tromey@redhat.com>
216
217 * valprint.h (read_string): Add 'extern'.
218
219 2013-01-07 Joel Brobecker <brobecker@adacore.com>
220
221 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
222 used to decide whether to define darwin_read_dyld_info or not.
223
224 2013-01-03 Pierre Muller <muller@sourceware.org>
225
226 * main.c (relocate_gdb_directory): Avoid calling stat function
227 if DIR is empty.
228
229 2013-01-03 Yao Qi <yao@codesourcery.com>
230
231 * psymtab.c (fixup_psymbol_section): Update declaration.
232 (fixup_psymbol_section): Remove code returning value.
233
234 2013-01-03 Yao Qi <yao@codesourcery.com>
235
236 * symtab.h: Remove some out of date comments.
237 (enum exception_event_kind): Move it ...
238 * breakpoint.c: ... here.
239
240 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
241
242 PR gdb/14405
243 * darwin-nat.c (darwin_read_dyld_info): Only build if
244 TASK_DYLD_INFO_COUNT is defined.
245 (darwin_xfer_partial): Call darwin_read_dyld_info only if
246 TASK_DYLD_INFO_COUNT is defined.
247
248 2013-01-02 Tom Tromey <tromey@redhat.com>
249
250 * symfile.h (struct ecoff_debug_hack): Remove.
251 * objfiles.c: Don't include mdebugread.h.
252
253 2013-01-02 Tom Tromey <tromey@redhat.com>
254
255 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
256 * configure.ac: Check for Mach-O support in BFD. Update
257 CONFIG_OBS.
258 * configure: Rebuild.
259
260 2013-01-02 Tom Tromey <tromey@redhat.com>
261
262 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
263 * configure.ac: Use GDB_AC_CHECK_BFD.
264 * configure: Rebuild.
265
266 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
267
268 * MAINTAINERS: Update my email.
269
270 2013-01-01 Joel Brobecker <brobecker@adacore.com>
271
272 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
273
274 2013-01-01 Joel Brobecker <brobecker@adacore.com>
275
276 * rs6000-nat.c (bss_data_overlap): New function.
277 (vmap_symtab): Use it to adjust the .bss section's offset.
278
279 2013-01-01 Joel Brobecker <brobecker@adacore.com>
280
281 Update year range in copyright notice of all files.
282
283 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
284
285 * top.c (print_gdb_version): Update copyright year.
286
287 For older changes see ChangeLog-2012.
288 \f
289 Local Variables:
290 mode: change-log
291 left-margin: 8
292 fill-column: 74
293 version-control: never
294 coding: utf-8
295 End:
This page took 0.036036 seconds and 4 git commands to generate.