gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
d0d8b0c6
JK
12012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 Fix watchpoints to be specific for each inferior.
4 * breakpoint.c (watchpoint_in_thread_scope): Verify also
5 current_program_space.
6 * i386-nat.c (i386_inferior_data_cleanup): New.
7 (i386_inferior_data_get): Replace variable inf_data_local by an
8 inferior_data call.
9 (i386_use_watchpoints): Initialize i386_inferior_data.
10 * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID
11 specific iterate_over_lwps.
12
4403d8e9
JK
132012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14
15 Fix watchpoints across inferior fork.
16 * amd64-linux-nat.c (update_debug_registers_callback): Update the
17 comment for linux_nat_iterate_watchpoint_lwps.
18 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
19 linux_nat_iterate_watchpoint_lwps.
20 (amd64_linux_prepare_to_resume): New comment on Linux kernel.
21 * i386-linux-nat.c (update_debug_registers_callback): Update the
22 comment for linux_nat_iterate_watchpoint_lwps.
23 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
24 linux_nat_iterate_watchpoint_lwps.
25 (i386_linux_prepare_to_resume): New comment on Linux kernel.
26 * i386-nat.c: Include inferior.h.
27 (dr_mirror): Remove.
28 (i386_inferior_data, struct i386_inferior_data)
29 (i386_inferior_data_get): New.
30 (i386_debug_reg_state): Use i386_inferior_data_get.
31 (i386_cleanup_dregs, i386_update_inferior_debug_regs)
32 (i386_insert_watchpoint, i386_remove_watchpoint)
33 (i386_stopped_data_address, i386_insert_hw_breakpoint)
34 (i386_remove_hw_breakpoint): New variable state, use
35 i386_debug_reg_state instead of DR_MIRROR.
36 * linux-nat.c (delete_lwp): New declaration.
37 (num_lwps): Move here from downwards.
38 (delete_lwp_cleanup): New.
39 (linux_child_follow_fork): Create new child_lp, call
40 linux_nat_new_thread and linux_nat_prepare_to_resume before calling
41 PTRACE_DETACH.
42 (num_lwps): Move upwards.
43 (linux_nat_iterate_watchpoint_lwps): New.
44 * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New.
45 (linux_nat_iterate_watchpoint_lwps_ftype): New declaration.
46
2992c9a7 472012-01-24 Joel Brobecker <brobecker@adacore.com>
48
49 GDB 7.4 released.
50
e360902b
PA
512012-01-23 Pedro Alves <palves@redhat.com>
52
53 * top.c (caution): Rename to ...
54 (confirm): ... this.
55 (show_caution): Rename to ...
56 (show_confirm): ... this.
57 (quit_cover): Adjust.
58 (init_main): Adjust.
59 * top.h (caution): Rename to ...
60 (confirm): ... this.
61 * utils.c (internal_vproblem, defaulted_query): Adjust.
62
050a2e1d
PA
632012-01-23 Pedro Alves <palves@redhat.com>
64
65 * top.c (caution): Update comment.
66 (execute_command): Don't consider the current value of `caution'.
67
77a35dd8
JK
682012-01-23 Jan Kratochvil <jan.kratochvil@redhat.com>
69
70 * cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen.
71
a71b5a38
UW
722012-01-23 Ulrich Weigand <ulrich.weigand@linaro.org>
73
74 * inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>.
75 * linux-tdep.c (linux_info_proc): Avoid ARI coding style warning.
76 * target.c (target_fileio_pwrite): Remove buffer address from
77 debug output.
78 (target_fileio_pread): Likewise.
79
d99bd577
UW
802012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
81
82 * NEWS: Document remote "info proc" and "generate-core-file".
83
35c2fab7
UW
842012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
85
86 * gdbarch.sh (find_memory_regions): New callback.
87 * gdbarch.c, gdbarch.h: Regenerate.
88
89 * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions
90 callback before falling back to target method.
91
92 * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove.
93 (linux_target_install_ops): No longer install it.
94
95 * linux-tdep.c (linux_find_memory_regions): New function.
96 (linux_init_abi): Install it.
97
6432734d
UW
982012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
99
100 * gdbarch.sh (make_corefile_notes): New architecture callback.
101 * gdbarch.c: Regenerate.
102 * gdbarch.h: Likewise.
103
104 * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes
105 before target_make_corefile_notes. If NULL is returned, the
106 target does not support core file generation.
107
108 * linux-nat.c: Include "linux-tdep.h".
109 (find_signalled_thread, find_stop_signal): Remove.
110 (linux_nat_do_thread_registers): Likewise.
111 (struct linux_nat_corefile_thread_data): Likewise.
112 (linux_nat_corefile_thread_callback): Likewise.
113 (iterate_over_spus): Likewise.
114 (struct linux_spu_corefile_data): Likewise.
115 (linux_spu_corefile_callback): Likewise.
116 (linux_spu_make_corefile_notes): Likewise.
117 (linux_nat_collect_thread_registers): New function.
118 (linux_nat_make_corefile_notes): Replace contents by call to
119 linux_make_corefile_notes passing linux_nat_collect_thread_registers
120 as native-only callback.
121
122 * linux-tdep.h: Include "bfd.h".
123 (struct regcache): Add forward declaration.
124 (linux_collect_thread_registers_ftype): New typedef.
125 (linux_make_corefile_notes): Add prototype.
126 * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h",
127 "regset.h", and "elf-bfd.h".
128 (find_signalled_thread, find_stop_signal): New functions.
129 (linux_spu_make_corefile_notes): Likewise.
130 (linux_collect_thread_registers): Likewise.
131 (struct linux_corefile_thread_data): New data structure.
132 (linux_corefile_thread_callback): New funcion.
133 (linux_make_corefile_notes): Likewise.
134 (linux_make_corefile_notes_1): Likewise.
135 (linux_init_abi): Install it.
136
3030c96e
UW
1372012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
138
139 * gdbarch.sh (info_proc): New callback.
140 * gdbarch.c, gdbarch.h: Regenerate.
141
142 * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback
143 before falling back to the target info_proc callback.
144
145 * linux-nat.c: Do not include "cli/cli-utils.h".
146 (linux_nat_info_proc): Remove.
147 (linux_target_install_ops): No longer install it.
148
149 * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>.
150 (read_mapping): New function.
151 (linux_info_proc): Likewise.
152 (linux_init_abi): Install it.
153
145b16a9
UW
1542012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
155
156 * defs.h (enum info_proc_what): Moved here from linux-nat.c
157 * infcmd.c: (info_proc_cmd_1): New function.
158 (info_proc_cmd): New function, moved here from equivalent routine
159 orignally in linux-nat.c.
160 (info_proc_cmd_mappings): Likewise.
161 (info_proc_cmd_stat): Likewise.
162 (info_proc_cmd_status): Likewise.
163 (info_proc_cmd_cwd): Likewise.
164 (info_proc_cmd_cmdline): Likewise.
165 (info_proc_cmd_exe): Likewise.
166 (info_proc_cmd_all): Likewise.
167 (_initialize_infcmd): Install "info proc" command and subcommands.
168
169 * target.h (struct target_ops): Add to_info_proc.
170 (target_info_proc): Add prototype.
171 * target.c (target_info_proc): New function.
172
173 * procfs.c (procfs_info_proc): Add prototype.
174 (info_proc_cmd): Rename into ...
175 (procfs_info_proc): ... this. Update argument types as appropriate
176 for a to_info_proc implementation. Handle "what" argument.
177 (procfs_target): Install procfs_info_proc.
178 (_initialize_procfs): No longer install "info proc" command.
179
180 * linux-nat.c: (enum info_proc_what): Remove.
181 (linux_nat_info_proc_cmd_1): Rename into ...
182 (linux_nat_info_proc): ... this. Update argument types as appropriate
183 for a to_info_proc implementation.
184 (linux_nat_info_proc_cmd): Remove.
185 (linux_nat_info_proc_cmd_mappings): Likewise.
186 (linux_nat_info_proc_cmd_stat): Likewise.
187 (linux_nat_info_proc_cmd_status): Likewise.
188 (linux_nat_info_proc_cmd_cwd): Likewise.
189 (linux_nat_info_proc_cmd_cmdline): Likewise.
190 (linux_nat_info_proc_cmd_exe): Likewise.
191 (linux_nat_info_proc_cmd_all): Likewise.
192 (linux_target_install_ops): Install linux_nat_info_proc.
193 (_initialize_linux_nat): No longer install "info proc" command
194 and subcommands.
195
b9e7b9c3
UW
1962012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
197
198 * configure.ac [AC_CHECK_FUNCS]: Check for readlink.
199 * config.in, configure: Regenerate.
200
201 * target.h (struct target_ops): Add to_fileio_readlink.
202 (target_fileio_readlink): Add prototype.
203 * target.c (target_fileio_readlink): New function.
204
205 * inf-child.c: Conditionally include <sys/param.h>.
206 (inf_child_fileio_readlink): New function.
207 (inf_child_target): Install it.
208
209 * remote.c (PACKET_vFile_readlink): New enum value.
210 (remote_hostio_readlink): New function.
211 (init_remote_ops): Install it.
212 (_initialize_remote): Handle vFile:readlink packet type.
213
7313baad
UW
2142012-01-20 Pedro Alves <palves@redhat.com>
215 Ulrich Weigand <ulrich.weigand@linaro.org>
216
217 * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
218 * config.in, configure: Regenerate.
219
220 * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
221 to_fileio_pread, to_fileio_close, to_fileio_unlink.
222 (target_fileio_open): Add prototype.
223 (target_fileio_pwrite): Likewise.
224 (target_fileio_pread): Likewise.
225 (target_fileio_close): Likewise.
226 (target_fileio_unlink): Likewise.
227 (target_fileio_read_alloc): Likewise.
228 (target_fileio_read_stralloc): Likewise.
229
230 * target.c: Include "gdb/fileio.h".
231 (target_read_stralloc): Accept trailing, but not embedded NUL bytes.
232 (default_fileio_target): New function.
233 (target_fileio_open): Likewise.
234 (target_fileio_pwrite): Likewise.
235 (target_fileio_pread): Likewise.
236 (target_fileio_close): Likewise.
237 (target_fileio_unlink): Likewise.
238 (target_fileio_close_cleanup): Likewise.
239 (target_fileio_read_alloc_1): Likewise.
240 (target_fileio_read_alloc): Likewise.
241 (target_fileio_read_stralloc): Likewise.
242
243 * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
244 <fcntl.h>, and <unistd.h>.
245 (inf_child_fileio_open_flags_to_host): New function.
246 (inf_child_errno_to_fileio_error): Likewise.
247 (inf_child_fileio_open): Likewise.
248 (inf_child_fileio_pwrite): Likewise.
249 (inf_child_fileio_pread): Likewise.
250 (inf_child_fileio_close): Likewise.
251 (inf_child_fileio_unlink): Likewise.
252 (inf_child_target): Install to_fileio routines.
253
254 * remote.c (init_remote_ops): Install to_fileio routines.
255
901f9912
UW
2562012-01-20 Pedro Alves <palves@redhat.com>
257 Ulrich Weigand <ulrich.weigand@linaro.org>
258
259 * remote.c (remote_multi_process_p): Only check for multi-process
260 protocol feature, do not check for extended protocol.
261 (remote_supports_multi_process): Check for extended protocol here.
262 (set_general_process): Likewise.
263 (extended_remote_kill): Likewise.
264 (remote_pid_to_str): Likewise.
265 (remote_query_supported): Always query multiprocess mode.
266
e714e1bf
UW
2672012-01-20 Pedro Alves <palves@redhat.com>
268 Ulrich Weigand <ulrich.weigand@linaro.org>
269
270 * inferior.h (struct inferior): Add fake_pid_p.
271 * inferior.c (exit_inferior_1): Clear fake_pid_p.
272 * remote.c (remote_start_remote): Set fake_pid_p if we have to use
273 magic_null_ptid since the remote side doesn't provide a real PID.
274
50897289
TT
2752012-01-19 Tom Tromey <tromey@redhat.com>
276
277 * NEWS: Combine the two Python sections.
278
1afc2033
JK
2792012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
280
281 * target.h (target_close): Update comment on the target's unpush state.
282
305436e0
PA
2832012-01-19 Pedro Alves <palves@redhat.com>
284
285 * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and
286 linux_nat_async directly instead of going through the target
287 vector.
288 * target.c (unpush_target): Close target after unpushing it, not
289 before.
290
49323895
GB
2912012-01-19 Gary Benson <gbenson@redhat.com>
292
293 * mdebugread.c (sort_blocks): Replace integer constants with ones
294 derived from FIRST_LOCAL_BLOCK.
295
1db33378
PP
2962012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
297 Jan Kratochvil <jan.kratochvil@redhat.com>
298
299 PR gdb/9538
300 * symfile.c (find_separate_debug_file): New function.
301 (terminate_after_last_dir_separator): Likewise.
302 (find_separate_debug_file_by_debuglink): Also try realpath.
303 * configure.ac (AC_CHECK_FUNCS): Add lstat.
304 * configure: Regenerate.
305 * config.in: Regenerate.
306
f83d8a90
DE
3072012-01-18 Doug Evans <dje@google.com>
308
309 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete.
310 (main.o): Remove rule.
311 * configure.ac (BINDIR): Define with AC_DEFINE_DIR.
312 (--with-sysroot): Rewrite.
313 * configure: Regenerate.
314 * config.in: Regenerate.
315
2dbca4d6
SDJ
3162012-01-18 Sergio Durigan Junior <sergiodj@redhat.com>
317
318 * parse.c (initialize_expout): New function.
319 (reallocate_expout): Likewise.
320 (parse_exp_in_context): Use `initialize_expout' and
321 `reallocate_expout' when appropriate.
322
0695b514
PA
3232012-01-18 Pedro Alves <palves@redhat.com>
324
325 * record.c (struct record_breakpoint, record_breakpoint_p)
326 (record_breakpoints): New.
327 (record_insert_breakpoint, record_remove_breakpoint): Manage
328 record breakpoints list. Only remove breakpoints from the
329 inferior if they had been inserted there in the first place.
330
136e1c30
DE
3312012-01-17 Doug Evans <dje@google.com>
332
333 * linespec.c (decode_line_internal): Don't call symtabs_from_filename
334 if we know we don't have a file name to look for.
335
c0bf857d
PA
3362012-01-17 Pedro Alves <palves@redhat.com>
337
338 * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if
339 the frame's stop reason is UNWIND_UNAVAILABLE.
340
b486de60
JK
3412012-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
342
343 Fix compilation error.
344 * m2-exp.y (yyerror): Use ANSI C prototype.
345
d04550a6
SDJ
3462012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
347
348 * f-exp.y (parse_number): Convert prototype from K&R to ANSI C.
349 (growbuf_by_size): Likewise.
350 (yyerror): Likewise.
351 * m2-exp.y (make_qualname): Remove function (was #if 0'ed).
352 (modblock): Remove variable (was #if 0'ed).
353 (parse_number): Convert prototype from K&R to ANSI C.
354 (yyerror): Likewise.
355 * objc-exp.y (parse_number): Likewise.
356 (yyerror): Likewise.
357 (yylex): Remove #if 0'ed code.
358 * p-exp.y (uptok): Convert prototype from K&R to ANSI C.
359 (yyerror): Likewise.
360
4aac40c8
TT
3612012-01-16 Tom Tromey <tromey@redhat.com>
362
363 * NEWS: Add item.
364 * symtab.h (compare_filenames_for_search): Declare.
365 * symtab.c (compare_filenames_for_search): New function.
366 (iterate_over_some_symtabs): Use it.
367 * symfile.h (struct quick_symbol_functions)
368 <map_symtabs_matching_filename>: Change spec.
369 * psymtab.c (partial_map_symtabs_matching_filename): Use
370 compare_filenames_for_search. Update for new spec.
371 * dwarf2read.c (dw2_map_symtabs_matching_filename): Use
372 compare_filenames_for_search. Update for new spec.
373 * breakpoint.c (clear_command): Use compare_filenames_for_search.
374
cafec441
TT
3752012-01-16 Tom Tromey <tromey@redhat.com>
376
377 PR python/13281:
378 * gdbtypes.h (TYPE_FLAG_ENUM): New macro.
379 (struct main_type) <flag_flag_enum>: New field.
380 * dwarf2read.c (process_enumeration_scope): Detect "flag" enums.
381 * NEWS: Add entries.
382 * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag"
383 enums.
384 * python/lib/gdb/printing.py (_EnumInstance): New class.
385 (FlagEnumerationPrinter): Likewise.
386
983af33b
SDJ
3872012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
388
389 * breakpoint.c (create_sals_from_address_default): New function.
390 (create_breakpoints_sal_default): Likewise.
391 (decode_linespec_default): Likewise.
392 (is_marker_spec): Removed.
393 (strace_marker_p): New function.
394 (init_breakpoint_sal): Using `strace_marker_p' instead of
395 `is_marker_spec'.
396 (create_breakpoint): Call method `create_sals_from_address' from
397 breakpoint_ops, replacing code that created SALs conditionally
398 on the type of the breakpoint. Call method `create_breakpoints_sal',
399 replacing code that created breakpoints conditionally on the type
400 wanted.
401 (base_breakpoint_create_sals_from_address): New function.
402 (base_breakpoint_create_breakpoints_sal): Likewise.
403 (base_breakpoint_decode_linespec): Likewise.
404 (base_breakpoint_ops): Add methods
405 `base_breakpoint_create_sals_from_address',
406 `base_breakpoint_create_breakpoints_sal' and
407 `base_breakpoint_decode_linespec'.
408 (bkpt_create_sals_from_address): New function.
409 (bkpt_create_breakpoints_sal): Likewise.
410 (bkpt_decode_linespec): Likewise.
411 (tracepoint_create_sals_from_address): Likewise.
412 (tracepoint_create_breakpoints_sal): Likewise.
413 (tracepoint_decode_linespec): Likewise.
414 (strace_marker_create_sals_from_address): Likewise.
415 (strace_marker_create_breakpoints_sal): Likewise.
416 (strace_marker_decode_linespec): Likewise.
417 (strace_marker_breakpoint_ops): New variable.
418 (addr_string_to_sals): Remove `marker_spec'. Call method
419 `decode_linespec' from breakpoint_ops, replacing code that decoded
420 an address string into a SAL. Use `strace_marker_p' instead of
421 `marker_spec'.
422 (strace_command): Decide whether we are dealing with a static
423 tracepoint with marker or not. Use the appropriate breakpoint_ops.
424 (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops.
425 * breakpoint.h (linespec_result, linespec_sals): New forward
426 declarations.
427 (breakpoint_ops) <create_sals_from_address>,
428 <create_breakpoints_sal>, <decode_linespec>: New methods.
429
4795f398
DE
4302012-01-14 Doug Evans <dje@google.com>
431
432 * NEWS: Update text for "maint set python print-stack".
433 It is deprecated in gdb 7.4 and deleted in 7.5.
434
ee5106fe
EZ
4352012-01-13 Eli Zaretskii <eliz@gnu.org>
436
437 * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before
438 including curses.h.
439
b161e06f
JK
4402012-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
441
442 * configure: Regenerate.
443 * config.in: Regenerate.
444
85254831
KS
4452012-01-12 Keith Seitz <keiths@redhat.com>
446
447 PR mi/10586
448 * varobj.c (ANONYMOUS_STRUCT_NAME): Define.
449 (ANONYMOUS_UNION_NAME): Define.
450 (is_path_expr_parent): New function.
451 (get_path_expr_parent): New function.
452 (is_anonymous_child): New function.
453 (create_child_with_value): If the child is anonymous and without
454 a name, assign an object name to it.
455 (c_describe_child): Use get_path_expr_parent to determine
456 the parent expression.
457 If there field represents an anonymous struct or union and
458 has no name, set an appropriate display name and expression.
459 (cplus_describe_child): Likewise.
460
620fa63a
PA
4612012-01-12 Pedro Alves <palves@redhat.com>
462
463 * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as
464 available when %ebp is found to be zero (outermost).
465
2efa2c79
AT
4662012-01-11 Andreas Tobler <andreast@fgznet.ch>
467
468 * common/gdb_assert.h (gdb_static_assert): Rename static_assert to
469 an internal gdb_static_assert.
470 * mi/mi-common.c: Rename static_assert to gdb_static_assert.
471
88e7d25d
TT
4722012-01-11 Tom Tromey <tromey@redhat.com>
473
474 PR gdb/9598:
475 * breakpoint.c (_initialize_breakpoint): Fix help for "catch
476 catch" and "catch throw".
477
72384ba3
PH
4782012-01-11 Paul Hilfinger <hilfingr@adacore.com>
479
480 * blockframe.c (block_innermost_frame): Start search from selected
481 frame, if present, or otherwise the current frame.
482
483 * c-exp.y (variable): Update innermost_block for
484 'block COLONCOLON NAME' clause.
485 * m2-exp.y (variable): Ditto.
486 * objc-exp.y (variable): Ditto.
487
065a711f
TT
4882012-01-10 Tom Tromey <tromey@redhat.com>
489
490 PR python/13199:
491 * python/python.c (finish_python_initialization): Set sys.argv.
492
f3f5162e
DE
4932012-01-10 Doug Evans <dje@google.com>
494
495 * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
496 "want_line_info". All callers updated.
497 (dwarf_decode_lines_1): New function.
498 (handle_DW_AT_stmt_list): Add function comment.
499 New arg "want_line_info". All callers updated.
500 (read_file_scope,read_type_unit_scope): Move comment from
501 handle_DW_AT_stmt_list to here.
502
9934703b
JK
5032012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
504
505 Fix regression after libiberty/ update for GCC PR 6057 and others.
506 * c-exp.y (operator) <OPERATOR DELETE>
507 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
508 * cp-name-parser.y (fill_comp, make_operator, make_dtor)
509 (make_builtin_type, make_name): New variable i, add gdb_assert.
510 (operator) <OPERATOR NEW>: Update ARGS to 3.
511 (operator) <OPERATOR DELETE>: Add trailing space.
512 (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
513 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
514 * cp-support.c (cp_canonicalize_string): Check NULL from
515 cp_comp_to_string, call warning and return.
516
06b9f45f
JK
5172012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
518
519 Fix duplicate .o files after omitting libbfd.a.
520 * Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
521 (SFILES): Add corelow.c.
522 (COMMON_OBS): Add corelow.o.
523 (ALLDEPFILES): Remove corelow.c.
524 * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
525 * config/alpha/alpha-osf3.mh: Likewise.
526 * config/alpha/fbsd.mh: Likewise.
527 * config/arm/nbsdaout.mh: Likewise.
528 * config/arm/nbsdelf.mh: Likewise.
529 * config/i386/i386gnu.mh: Likewise.
530 * config/ia64/hpux.mh: Likewise.
531 * config/ia64/linux.mh: Likewise.
532 * config/m32r/linux.mh: Likewise.
533 * config/m68k/linux.mh: Likewise.
534 * config/mips/irix5.mh: Likewise.
535 * config/mips/irix6.mh: Likewise.
536 * config/pa/hpux.mh: Likewise.
537 * config/pa/linux.mh: Likewise.
538 * config/powerpc/aix.mh: Likewise.
539 * config/sparc/linux.mh: Likewise.
540 * config/sparc/linux64.mh: Likewise.
541 * config/sparc/sol2.mh: Likewise.
542 * config/vax/vax.mh: Likewise.
543 * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
544 (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
545 (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
546 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
547 (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
548 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
549 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
550 (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
551 (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
552 (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
553 (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
554 (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
555 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
556 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
557 (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
558 (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
559 (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
560 (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
561 (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
562 (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
563 (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
564 (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
565 corelow.o from gdb_target_obs.
566 * corefile.c (core_target): Update the comment on NULL value.
567 (core_file_command): Replace error by gdb_assert on CORE_TARGET.
568 * corelow.c (sniff_core_bfd): Call error instead of warning on zero
569 MATCHES. Drop YUMMY set on NULL.
570 (core_close): Do not call exit_inferior_silent on zero PID. Do not
571 reclaim CORE_DATA if it is already NULL.
572
34365054
DE
5732012-01-09 Doug Evans <dje@google.com>
574
575 * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
576 * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.
577
696166a3
KS
5782012-01-09 Keith Seitz <keiths@redhat.com>
579
580 * breakpoint.c (wrapper.h): Don't include.
581
8e7b59a5
KS
5822012-01-09 Keith Seitz <keiths@redhat.com>
583
584 * Makefile.in (SFILES): Remove wrapper.c.
585 (HFILES_NO_SRCDIR): Remove wrapper.h.
586 (COMMON_OBS): Remove wrapper.o.
587 * cli/cli-interp.c: Don't inlude wrapper.h.
588 * corelow.c: Likewise.
589 (core_open): Replace gdb_target_find_new_threads with
590 TRY_CATCH around target_find_new_threads.
591 * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
592 * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
593 * varobj.c (varobj_create): Likewise for parse_exp_1 and
594 evaluate_expression.
595 (varobj_set_value): Likewise for evaluate_expression and
596 value_assign.
597 (install_new_variable): Likewise for value_fetch_lazy.
598 (adjust_value_for_child_access): Likewise for value_ind.
599 (c_describe_child): Likewise for value_subscript and
600 value_ind.
601 (c_value_of_root): Likewise for evaluate_expression.
602 * wrapper.c: Remove.
603 * wrapper.h: Remove.
604
1a4eeb98
DE
6052012-01-09 Doug Evans <dje@google.com>
606
9ff913ba
DE
607 * dwarf2read.c (read_and_check_comp_unit_head): Renamed from
608 partial_read_comp_unit_head. Replace "buffer", "buffer_size" and
609 "abfd" args with "section". All callers updated.
610 Error checking code moved ...
611 (error_check_comp_unit_head): ... here. New function.
612 (read_and_check_type_unit_head): Renamed from read_type_unit_head.
613 Delete arg "abfd". New arg "type_offset". All callers updated.
614 (create_debug_types_hash_table): Simplify by using
615 read_and_check_type_unit_head.
616
1a4eeb98
DE
617 * parser-defs.h (namecopy): Delete.
618 * parse.c (namecopy, namecopy_size): Move into copy_name.
619
2e6af8c0
JK
6202012-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
621
622 Partially fix duplicate .o files after omitting libbfd.a.
623 * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
624 * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
625 * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
626 * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
627 * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
628 * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
629 * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.
630
9f2f828a
PA
6312012-01-09 Pedro Alves <palves@redhat.com>
632
633 * MAINTAINERS: Update my email address.
634
4d72c0bc
DE
6352012-01-08 Doug Evans <dje@google.com>
636
d467dd73
DE
637 * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
638 n_type_units. Rename type_comp_units to all_type_units.
639 All uses updated.
640 (add_signatured_type_cu_to_table): Renamed from
641 add_signatured_type_cu_to_list. All callers updated.
642
4d72c0bc
DE
643 * gdbtypes.h (struct cplus_struct_type): Delete member
644 nfn_fields_total. All uses removed.
645
21b2bd31
DE
6462012-01-06 Doug Evans <dje@google.com>
647
648 * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
649 to top of file.
650 (dwarf2_find_comp_unit): Delete.
651 (process_psymtab_comp_unit): Make result "void".
652 Delete args buffer, info_ptr, buffer_size, and replace with
653 "section". All callers updated.
654 (dwarf2_build_psymtabs_hard): Simplify.
655
bfd189b1
SDJ
6562012-01-06 Sergio Durigan Junior <sergiodj@redhat.com>
657 Thiago Jung Bauermann <bauerman@br.ibm.com>
658
659 * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword
660 before `struct gdb_exception'.
661 * breakpoint.c (update_global_location_list_nothrow)
662 (update_breakpoint_locations, enable_breakpoint_disp): Likewise.
663 * cp-abi.c (value_rtti_type): Likewise.
664 * cp-support.c (cp_validate_operator): Likewise.
665 * infrun.c (insert_exception_resume_breakpoint)
666 (check_exception_resume, keep_going): Likewise.
667 * mi-interp.c (mi_breakpoint_created)
668 (mi_breakpoint_modified): Likewise.
669 * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise.
670 * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p)
671 (ia64_hpux_handle_dld_breakpoint_1): Likewise.
672
6b07635f
DE
6732012-01-05 Doug Evans <dje@google.com>
674
0b30b85c
DE
675 * dwarf2read.c (statement_prologue): Delete, unused.
676
98714339
DE
677 * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
678 * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
679
6b07635f
DE
680 * dwarf2read.c (comp_unit_header): Delete, unused.
681
761f4555
UW
6822012-01-05 Ulrich Weigand <uweigand@de.ibm.com>
683
684 * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
685 * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
686
2ca0b532
PA
6872012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu>
688
689 * infrun.c (normal_stop): Don't skip calling the normal_stop
690 observers if the thread was doing a multi-step, but stopped for
691 some reason other than stepping.
692
50aeff07
PA
6932012-01-05 Pedro Alves <alves.ped@gmail.com>
694
695 * cli/cli-decode.h: Add comments.
696 (CMD_LIST_AMBIGUOUS): Moved to command.h
697 (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
698 (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
699 (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
700 (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
701 (add_com, add_com_alias, add_info, add_info_alias)
702 (complete_on_cmdlist, complete_on_enum, help_list): Remove
703 declarations.
704 * command.h: Add and adjust comments.
705 (CMD_LIST_AMBIGUOUS): Moved here.
706 (help_cmd, help_cmd_list): Delete declarations.
707
5953832c
DE
7082012-01-04 Doug Evans <dje@google.com>
709
e5fe5e75
DE
710 * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
711 All callers updated.
712 (load_full_type_unit): Renamed from read_signatured_type_at_offset.
713 Replace all arguments with "per_cu". All callers updated.
714
28dee7f5
DE
715 * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
716
23745b47
DE
717 * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
718 New arg "per_cu". All callers updated.
719
5953832c
DE
720 Delete #if 0'd out code.
721 * language.c (binop_result_type): Delete.
722 (simple_type, ordered_type, same_type, integral_type): Delete.
723 (numeric_type, character_type, string_type, boolean_type): Delete.
724 (float_type, structured_type): Delete.
725 * language.h: Update.
726
0f5b7562
TT
7272012-01-04 Tom Tromey <tromey@redhat.com>
728
729 * python/py-value.c (valpy_binop): Initialize 'res_val'.
730
78218f56
JB
7312012-01-04 Joel Brobecker <brobecker@adacore.com>
732
733 * corefile.c (close_exec_file): Delete.
734 (reopen_exec_file): Remove commented out code that seems related
735 to close_exec_file, which is being deleted here.
736 * inferior.h (close_exec_file): Delete.
737 * fork-child.c (fork_inferior): Remove call to fork_inferior.
738
0fcd72ba
JB
7392012-01-04 Joel Brobecker <brobecker@adacore.com>
740
741 * ada-lang.c: #include "cli/cli-utils.h".
742 (get_selections): Use skip_spaces.
743 (ada_get_next_arg): Use skip_spaces and skip_to_space.
744 (catch_ada_exception_command_split): Use skip_spaces.
745 (ada_decode_assert_location): Likewise.
746
1dabb4c4
JB
7472012-01-04 Joel Brobecker <brobecker@adacore.com>
748
749 * linespec.c (decode_line_internal): Check for C++ or Java
750 compound constructs only if the current language is C, C++
751 or Java.
752
5931a2fa
JK
7532012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com>
754
755 Revert:
756 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
757 Joel Brobecker <brobecker@adacore.com>
758 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
759 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
760 3 times.
761 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
762 fall through into AT_ENTRY_POINT.
763 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
764 DUMMY_ADDR with it.
765 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
766 PPC_INSN_SIZE skip to 3 times.
767
1a2da5ee
JB
7682012-01-04 Joel Brobecker <brobecker@adacore.com>
769
770 * linespec.c (add_minsym): Preserve function descriptors.
771
8645ff69
UW
7722012-01-04 Ulrich Weigand <uweigand@de.ibm.com>
773
774 * breakpoint.c (all_locations_are_pending): Consider locations
775 in program spaces executing during startup pending as well.
776
0b302171
JB
7772012-01-04 Joel Brobecker <brobecker@adacore.com>
778
779 Copyright year update in most files of the GDB Project.
780
8ba098ad
JB
7812012-01-04 Joel Brobecker <brobecker@adacore.com>
782
783 * copyright.sh: Delete.
784 * copyright.py: Rewrite.
785
09c01c30
JB
7862012-01-04 Joel Brobecker <brobecker@adacore.com>
787
788 * gnulib/extra/update-copyright: New file, imported from gnulib.
789
3c36c0af
JB
7902012-01-04 Joel Brobecker <brobecker@adacore.com>
791
792 * README (Copyright and License Notices): New section.
793
888fe1e1
TT
7942012-01-03 Tom Tromey <tromey@redhat.com>
795
796 PR python/12533:
797 * python/py-value.c (valpy_dereference, valpy_get_address
798 valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
799 (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
800 (valpy_absolute, valpy_richcompare): Free intermediate values.
801
6e681866
JB
8022011-01-03 Joel Brobecker <brobecker@adacore.com>
803
804 * ada-lang.c: Reformat the copyright notice.
805
0cd09acb
JK
8062012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
807
808 * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
809 * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
810 (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
811 (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
812 Revert this part of:
813 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
814 Build gdb directly from *.o files not using libgdb.a.
815 * Makefile.in (COMMON_OBS): Remove solib-target.o.
816
12c3e59c
JB
8172012-01-02 Joel Brobecker <brobecker@adacore.com>
818
819 * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
820 gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
821 Reformat the copyright header.
822
11bf1490
JK
8232012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
824
825 Revert this part of:
826 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
827 Remove the gdbtui binary.
828 * gdb.c (main): Remove args.interpreter_p initialization.
829 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
830 * main.h (struct captured_main_args): Remove interpreter_p.
831
1fef196f
JB
8322012-01-02 Joel Brobecker <brobecker@adacore.com>
833
834 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
835
67827812
JB
8362012-01-02 Joel Brobecker <brobecker@adacore.com>
837
838 * top.c (print_gdb_version): Update copyright year.
839
a4d0b831
YQ
8402012-01-02 Yao Qi <yao@codesourcery.com>
841
842 * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
843
b5914469
JK
8442012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
845 Joel Brobecker <brobecker@adacore.com>
846
847 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
848 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
849 3 times.
850 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
851 fall through into AT_ENTRY_POINT.
852 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
853 DUMMY_ADDR with it.
854 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
855 PPC_INSN_SIZE skip to 3 times.
856
8da828f7
JK
8572012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
858
859 * amd64-linux-nat.c (update_debug_registers_callback): New comment on
860 the return value.
861 * i386-linux-nat.c (update_debug_registers_callback): Likewise.
862
8574e74b
JK
8632012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
864
865 Build gdb directly from *.o files not using libgdb.a.
866 * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
867 (COMMON_OBS): Remove solib-target.o.
868 (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
869 (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
870 (LIBGDB_OBS, libgdb.a): Move it above.
871 * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
872 (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
873 (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
874 (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
875 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
876 (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
877 (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
878 (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
879 (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
880 (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
881 (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
882 (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
883 (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
884 (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
885 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
886 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
887 (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
888 (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
889 (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
890 (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
891 (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
892 (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
893 (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
894 (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
895 (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
896 (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
897 (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
898
217bff3e
JK
8992012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
900
901 Remove the gdbtui binary.
902 * .gitignore (/gdbtui): Remove.
903 * Makefile.in (TUI): Remove.
904 (SUBDIR_TUI_OBS): Remove tui-main.o.
905 (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
906 (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
907 (tui-main.o): Remove.
908 (all_object_files): Remove tui-main.o.
909 * NEWS: New note for the gdbtui removal.
910 * configure: Rebuilt.
911 * configure.ac: No longer add all-tui, clean-tui, install-tui and
912 uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
913 CONFIG_UNINSTALL respectively.
914 * gdb.c (main): Remove args.interpreter_p initialization.
915 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
916 * main.h (struct captured_main_args): Remove interpreter_p.
917 * tui/tui-main.c: Remove.
918
9cdd5dbd
DE
9192012-01-01 Doug Evans <dje@google.com>
920
bb5ed363
DE
921 * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
922 (dwarf2_physname, read_import_statement): Ditto.
923 (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
924 (process_structure_scope read_subroutine_type): Ditto.
925 (read_typedef, load_partial_dies, read_partial_die): Ditto.
926 (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
927 (dwarf2_fetch_die_location_block): Ditto.
928 (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
929
a0f42c21
DE
930 * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
931 All callers updated.
932 (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
933 (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
934 (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
935
2dc860c0
DE
936 * dwarf2read.c (load_cu): Move assert to more useful location.
937
68dc6402
DE
938 * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
939 All callers updated.
940
9cdd5dbd
DE
941 * dwarf2read.c (dwarf2_per_objfile): Add comment.
942 (dwarf2_elf_names): Minor reformat.
943 (dwarf2_per_cu_data): Tweak comment.
944 (dwarf2_read_section): Fix comment.
945 (create_all_comp_units): Fix comment.
946 (load_full_comp_unit): Fix comment.
947 (process_full_comp_unit): Fix comment.
948 (read_signatured_type): Fix comment.
949
0c10e53e 950For older changes see ChangeLog-2011.
c906108c
SS
951\f
952Local Variables:
953mode: change-log
954left-margin: 8
955fill-column: 74
956version-control: never
57da7796 957coding: utf-8
c906108c 958End:
This page took 1.384466 seconds and 4 git commands to generate.