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