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