* cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
44478ab3
TT
12013-01-14 Tom Tromey <tromey@redhat.com>
2
3 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
4 set command.
5 * command.h (add_setshow_string_noescape_cmd): Update.
6 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
7 (complete_set_gnutarget): New function.
8 (_initialize_core): Set the "set gnutarget" completer.
9
06d66ee9
TT
102013-01-14 Tom Tromey <tromey@redhat.com>
11
12 PR symtab/14442:
13 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
14 (c_type_print_modifier): Likewise.
15 * dwarf2read.c (read_tag_restrict_type): New function.
16 (read_type_die_1): Handle DW_TAG_restrict_type.
17 * gdbtypes.c (make_restrict_type): New function.
18 (recursive_dump_type): Handle TYPE_RESTRICT.
19 * gdbtypes.h (enum type_flag_values): Renumber.
20 (enum type_instance_flag_value): Add
21 TYPE_INSTANCE_FLAG_RESTRICT.
22 (TYPE_RESTRICT): New macro.
23 (make_restrict_type): Declare.
24
c9bf0622
TT
252013-01-14 Tom Tromey <tromey@redhat.com>
26
27 PR symtab/14931:
28 * psymtab.c (struct psymtab_state): New.
29 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
30 functions.
31 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
32 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
33
44d594fd
PA
342013-01-14 Richard Sharman <richard_sharman@mitel.com>
35 Pedro Alves <palves@redhat.com>
36
37 PR remote/14786
38
39 * remote.c (remote_threads_info): Make a copy of the reply from
40 qfThreadInfo and use that instead of rs->buf.
41
442e4d9c
YQ
422013-01-14 Yao Qi <yao@codesourcery.com>
43
44 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
45 (dbx_psymtab_to_symtab): Likewise.
46 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
47 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
48 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
49
5b12a61c
JK
502013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
51
52 * parse.c (parse_exp_in_context): New variable inner_chain. Call
53 make_cleanup_restore_current_language. Call set_language. Move
54 OLD_CHAIN and INNER_CHAIN cleanups.
55 * utils.c (do_restore_current_language)
56 (make_cleanup_restore_current_language): New functions.
57 * utils.h (make_cleanup_restore_current_language): New declaration.
58
f0a4b570
JK
592013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
60
61 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
62 non-existing files.
63
57b3c00c
JK
64 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
65 non-existing files if FILENAME is already absolute.
66
daefa854
JK
672013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
68
69 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
70 fputs_filtered. Append trailing newline.
71
ca9c6ee2
YQ
722013-01-11 Yao Qi <yao@codesourcery.com>
73 Stan Shebs <stan@codesourcery.com>
74
75 * psymtab.c (init_psymbol_list): Clarify the comment.
76
f28045c2
YQ
772013-01-11 Yao Qi <yao@codesourcery.com>
78
79 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
80 (update_dprintf_command_list): Assert that 'printf_line' is
81 non-null. Remove condition check.
82
da5132d3
JK
832013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
84
85 Code cleanup.
86 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
87 type const char *.
88 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
89 const char *.
90 * tui/tui-source.h (tui_source_is_displayed): Likewise.
91
843e694d
AG
922013-01-09 Anthony Green <green@moxielogic.com>
93
94 * cp-abi.c (cplus_print_vtable): Don't return value from void
95 function.
96 * ada-lang.c (re_set_catch_assert): Ditto.
97
da51c347
DE
982013-01-09 Doug Evans <dje@google.com>
99
100 * symfile.h (quick_symbol_functions): Delete member
101 pre_expand_symtabs_matching. All uses removed.
102 * dwarf2read.c (dw2_lookup_symbol): Implement.
103 (dw2_do_expand_symtabs_matching): Delete.
104 (dw2_pre_expand_symtabs_matching): Delete.
105 (struct dw2_symtab_iterator): New type.
106 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
107 (dw2_expand_symtabs_for_function): Rewrite.
108 (dwarf2_gdb_index_functions): Update.
109 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
110 (psym_functions): Update.
111
b2259038
TT
1122013-01-09 Tom Tromey <tromey@redhat.com>
113
114 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
115 * configure: Rebuild.
116 * configure.ac: Add somread.o to the build if BFD has SOM
117 support.
118 * somread.c: Include som/aout.h, not syms.h.
119 (som_symtab_read): Use som_external_symbol_dictionary_record.
120 Unpack records manually.
121 (_initialize_somread): Declare.
122
bdad4180
MF
1232012-01-08 Mike Frysinger <vapier@gentoo.org>
124
125 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
126 Cast return_address to 64bits.
127
03cdf680
HZ
1282013-01-08 Hui Zhu <hui_zhu@mentor.com>
129
130 * printcmd.c: Remove define of function output_command.
131 * tracepoint.c: Remove extern of function output_command.
132 * valprint.h: (output_command): New extern.
133
8a808554
TT
1342013-01-07 Tom Tromey <tromey@redhat.com>
135
136 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
137 Remove.
138 (objc_language_defn): Use c_printchar, c_printstr,
139 c_emit_char.
140
e93a8774
TT
1412013-01-07 Tom Tromey <tromey@redhat.com>
142
143 PR cli/7719:
144 * NEWS: Update.
145 * ada-valprint.c (printstr, print_field_values): Remove
146 "inspect_it" code.
147 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
148 code.
149 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
150 code.
151 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
152 * main.c (captured_main): Remove "epoch" argument.
153 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
154 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
155 * p-valprint.c (pascal_object_print_value_fields): Remove
156 "inspect_it" code.
157 * printcmd.c (print_command_1): Remove 'inspect' argument.
158 (print_command, call_command): Update.
159 (inspect_command): Remove.
160 (_initialize_printcmd): Make "inspect" an alias for "print".
161 * top.c (epoch_interface): Remove.
162 * top.h (epoch_interface): Remove.
163 * valprint.c (user_print_options): Update.
164 (print_converted_chars_to_obstack): Remove "inspect_it" code.
165 * valprint.h (struct value_print_options) <inspect_it>: Remove
166 field.
167
1682013-01-04 Tom Tromey <tromey@redhat.com>
169
170 * valprint.h (read_string): Add 'extern'.
171
b967eb24
JB
1722013-01-07 Joel Brobecker <brobecker@adacore.com>
173
174 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
175 used to decide whether to define darwin_read_dyld_info or not.
176
78a8b30e
PM
1772013-01-03 Pierre Muller <muller@sourceware.org>
178
179 * main.c (relocate_gdb_directory): Avoid calling stat function
180 if DIR is empty.
181
50da2f25
YQ
1822013-01-03 Yao Qi <yao@codesourcery.com>
183
184 * psymtab.c (fixup_psymbol_section): Update declaration.
185 (fixup_psymbol_section): Remove code returning value.
186
e7e8980f
YQ
1872013-01-03 Yao Qi <yao@codesourcery.com>
188
189 * symtab.h: Remove some out of date comments.
190 (enum exception_event_kind): Move it ...
191 * breakpoint.c: ... here.
192
569283d4
MF
1932013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
194
9f9d9a96 195 PR gdb/14405
569283d4
MF
196 * darwin-nat.c (darwin_read_dyld_info): Only build if
197 TASK_DYLD_INFO_COUNT is defined.
198 (darwin_xfer_partial): Call darwin_read_dyld_info only if
199 TASK_DYLD_INFO_COUNT is defined.
200
2e36fbea
TT
2012013-01-02 Tom Tromey <tromey@redhat.com>
202
203 * symfile.h (struct ecoff_debug_hack): Remove.
204 * objfiles.c: Don't include mdebugread.h.
205
4f05add4
TT
2062013-01-02 Tom Tromey <tromey@redhat.com>
207
208 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
209 * configure.ac: Check for Mach-O support in BFD. Update
210 CONFIG_OBS.
211 * configure: Rebuild.
212
def63ff0
TT
2132013-01-02 Tom Tromey <tromey@redhat.com>
214
215 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
216 * configure.ac: Use GDB_AC_CHECK_BFD.
217 * configure: Rebuild.
218
60c5dd93
MK
2192013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
220
221 * MAINTAINERS: Update my email.
222
6e58437e
JB
2232013-01-01 Joel Brobecker <brobecker@adacore.com>
224
225 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
226
627fe805
JB
2272013-01-01 Joel Brobecker <brobecker@adacore.com>
228
229 * rs6000-nat.c (bss_data_overlap): New function.
230 (vmap_symtab): Use it to adjust the .bss section's offset.
231
28e7fd62
JB
2322013-01-01 Joel Brobecker <brobecker@adacore.com>
233
234 Update year range in copyright notice of all files.
235
e93a8774 2362013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
b9786c74
JB
237
238 * top.c (print_gdb_version): Update copyright year.
239
72b20e9c 240For older changes see ChangeLog-2012.
c906108c
SS
241\f
242Local Variables:
243mode: change-log
244left-margin: 8
245fill-column: 74
246version-control: never
57da7796 247coding: utf-8
c906108c 248End:
This page took 1.442555 seconds and 4 git commands to generate.