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