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