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