1 2012-01-24 Pedro Alves <pedro@codesourcery.com>
3 * breakpoint.c (breakpoint_hit_catch_fork)
4 (breakpoint_hit_catch_vfork, breakpoint_hit_catch_syscall)
5 (breakpoint_hit_catch_exec): Make use of the `ws' argument.
6 * infrun.c (inferior_has_forked, inferior_has_vforked)
7 (inferior_has_execd, inferior_has_called_syscall): Delete.
8 (handle_syscall_event): Get syscall_number from the execution
9 control state's wait status.
10 (wait_for_inferior): Don't clear syscall_number.
12 2012-01-24 Pedro Alves <palves@redhat.com>
14 * breakpoint.c (bpstat_check_location, bpstat_stop_status,
15 pc_at_non_inline_function): Add `ws' parameter, and pass it down.
16 (breakpoint_hit_catch_fork, breakpoint_hit_catch_vfork)
17 (breakpoint_hit_catch_syscall, breakpoint_hit_catch_exec): Add
19 (breakpoint_hit_ranged_breakpoint): Add `ws' parameter. Return
20 false for events other than TARGET_SIGNAL_TRAP.
21 (breakpoint_hit_watchpoint, base_breakpoint_breakpoint_hit):
23 (bkpt_breakpoint_hit): Add `ws' parameter. Return false for
24 events other than TARGET_SIGNAL_TRAP.
25 (tracepoint_breakpoint_hit): Add `ws' parameter.
26 * breakpoint.h (struct breakpoint_ops) <breakpoint_hit>: Add `ws'
28 (bpstat_stop_status): Same.
29 (pc_at_non_inline_function): Same.
30 * infrun.c (handle_syscall_event, handle_inferior_event): Adjust
31 to pass the current event's waitstatus to bpstat_stop_status
32 and pc_at_non_inline_function.
34 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
37 * cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM.
38 Update the function comment for it.
39 (source_script_with_search): Call make_cleanup_fclose for STREAM.
40 * cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose
43 2012-01-24 Pedro Alves <palves@redhat.com>
45 * breakpoint.c (bpstat_stop_status): Moving clearing print_it
46 outside `bs->stop' block.
47 (bpstat_what): Rework bp_shlib_event handling.
48 (internal_bkpt_check_status): If the breakpoint is a
49 bp_shlib_event, then set bs->stop and bs->print if
50 stop_on_solib_events is set.
52 2012-01-24 Gary Benson <gbenson@redhat.com>
54 Delete #if 0'd out code.
55 * stack.c (print_frame_label_vars): Remove.
56 (catch_info): Likewise.
57 (_initialize_stack): Remove "info catch" command.
58 * NEWS: Mention the above.
60 2012-01-24 Pedro Alves <palves@redhat.com>
62 * remote.c (remote_add_inferior): New `fake_pid_p' parameter. Use
64 (remote_notice_new_inferior): If the remote end doesn't support
65 the multiprocess extensions, then the PID is fake.
66 (add_current_inferior_and_thread): New.
67 (remote_start_remote): Use it.
68 (extended_remote_attach_1): Adjust.
69 (extended_remote_create_inferior_1): Use
70 add_current_inferior_and_thread.
72 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
74 Fix watchpoints to be specific for each inferior.
75 * breakpoint.c (watchpoint_in_thread_scope): Verify also
76 current_program_space.
77 * i386-nat.c (i386_inferior_data_cleanup): New.
78 (i386_inferior_data_get): Replace variable inf_data_local by an
80 (i386_use_watchpoints): Initialize i386_inferior_data.
81 * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID
82 specific iterate_over_lwps.
84 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
86 Fix watchpoints across inferior fork.
87 * amd64-linux-nat.c (update_debug_registers_callback): Update the
88 comment for linux_nat_iterate_watchpoint_lwps.
89 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
90 linux_nat_iterate_watchpoint_lwps.
91 (amd64_linux_prepare_to_resume): New comment on Linux kernel.
92 * i386-linux-nat.c (update_debug_registers_callback): Update the
93 comment for linux_nat_iterate_watchpoint_lwps.
94 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
95 linux_nat_iterate_watchpoint_lwps.
96 (i386_linux_prepare_to_resume): New comment on Linux kernel.
97 * i386-nat.c: Include inferior.h.
99 (i386_inferior_data, struct i386_inferior_data)
100 (i386_inferior_data_get): New.
101 (i386_debug_reg_state): Use i386_inferior_data_get.
102 (i386_cleanup_dregs, i386_update_inferior_debug_regs)
103 (i386_insert_watchpoint, i386_remove_watchpoint)
104 (i386_stopped_data_address, i386_insert_hw_breakpoint)
105 (i386_remove_hw_breakpoint): New variable state, use
106 i386_debug_reg_state instead of DR_MIRROR.
107 * linux-nat.c (delete_lwp): New declaration.
108 (num_lwps): Move here from downwards.
109 (delete_lwp_cleanup): New.
110 (linux_child_follow_fork): Create new child_lp, call
111 linux_nat_new_thread and linux_nat_prepare_to_resume before calling
113 (num_lwps): Move upwards.
114 (linux_nat_iterate_watchpoint_lwps): New.
115 * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New.
116 (linux_nat_iterate_watchpoint_lwps_ftype): New declaration.
118 2012-01-24 Joel Brobecker <brobecker@adacore.com>
122 2012-01-23 Pedro Alves <palves@redhat.com>
124 * top.c (caution): Rename to ...
126 (show_caution): Rename to ...
127 (show_confirm): ... this.
128 (quit_cover): Adjust.
130 * top.h (caution): Rename to ...
132 * utils.c (internal_vproblem, defaulted_query): Adjust.
134 2012-01-23 Pedro Alves <palves@redhat.com>
136 * top.c (caution): Update comment.
137 (execute_command): Don't consider the current value of `caution'.
139 2012-01-23 Jan Kratochvil <jan.kratochvil@redhat.com>
141 * cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen.
143 2012-01-23 Ulrich Weigand <ulrich.weigand@linaro.org>
145 * inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>.
146 * linux-tdep.c (linux_info_proc): Avoid ARI coding style warning.
147 * target.c (target_fileio_pwrite): Remove buffer address from
149 (target_fileio_pread): Likewise.
151 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
153 * NEWS: Document remote "info proc" and "generate-core-file".
155 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
157 * gdbarch.sh (find_memory_regions): New callback.
158 * gdbarch.c, gdbarch.h: Regenerate.
160 * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions
161 callback before falling back to target method.
163 * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove.
164 (linux_target_install_ops): No longer install it.
166 * linux-tdep.c (linux_find_memory_regions): New function.
167 (linux_init_abi): Install it.
169 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
171 * gdbarch.sh (make_corefile_notes): New architecture callback.
172 * gdbarch.c: Regenerate.
173 * gdbarch.h: Likewise.
175 * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes
176 before target_make_corefile_notes. If NULL is returned, the
177 target does not support core file generation.
179 * linux-nat.c: Include "linux-tdep.h".
180 (find_signalled_thread, find_stop_signal): Remove.
181 (linux_nat_do_thread_registers): Likewise.
182 (struct linux_nat_corefile_thread_data): Likewise.
183 (linux_nat_corefile_thread_callback): Likewise.
184 (iterate_over_spus): Likewise.
185 (struct linux_spu_corefile_data): Likewise.
186 (linux_spu_corefile_callback): Likewise.
187 (linux_spu_make_corefile_notes): Likewise.
188 (linux_nat_collect_thread_registers): New function.
189 (linux_nat_make_corefile_notes): Replace contents by call to
190 linux_make_corefile_notes passing linux_nat_collect_thread_registers
191 as native-only callback.
193 * linux-tdep.h: Include "bfd.h".
194 (struct regcache): Add forward declaration.
195 (linux_collect_thread_registers_ftype): New typedef.
196 (linux_make_corefile_notes): Add prototype.
197 * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h",
198 "regset.h", and "elf-bfd.h".
199 (find_signalled_thread, find_stop_signal): New functions.
200 (linux_spu_make_corefile_notes): Likewise.
201 (linux_collect_thread_registers): Likewise.
202 (struct linux_corefile_thread_data): New data structure.
203 (linux_corefile_thread_callback): New funcion.
204 (linux_make_corefile_notes): Likewise.
205 (linux_make_corefile_notes_1): Likewise.
206 (linux_init_abi): Install it.
208 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
210 * gdbarch.sh (info_proc): New callback.
211 * gdbarch.c, gdbarch.h: Regenerate.
213 * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback
214 before falling back to the target info_proc callback.
216 * linux-nat.c: Do not include "cli/cli-utils.h".
217 (linux_nat_info_proc): Remove.
218 (linux_target_install_ops): No longer install it.
220 * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>.
221 (read_mapping): New function.
222 (linux_info_proc): Likewise.
223 (linux_init_abi): Install it.
225 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
227 * defs.h (enum info_proc_what): Moved here from linux-nat.c
228 * infcmd.c: (info_proc_cmd_1): New function.
229 (info_proc_cmd): New function, moved here from equivalent routine
230 orignally in linux-nat.c.
231 (info_proc_cmd_mappings): Likewise.
232 (info_proc_cmd_stat): Likewise.
233 (info_proc_cmd_status): Likewise.
234 (info_proc_cmd_cwd): Likewise.
235 (info_proc_cmd_cmdline): Likewise.
236 (info_proc_cmd_exe): Likewise.
237 (info_proc_cmd_all): Likewise.
238 (_initialize_infcmd): Install "info proc" command and subcommands.
240 * target.h (struct target_ops): Add to_info_proc.
241 (target_info_proc): Add prototype.
242 * target.c (target_info_proc): New function.
244 * procfs.c (procfs_info_proc): Add prototype.
245 (info_proc_cmd): Rename into ...
246 (procfs_info_proc): ... this. Update argument types as appropriate
247 for a to_info_proc implementation. Handle "what" argument.
248 (procfs_target): Install procfs_info_proc.
249 (_initialize_procfs): No longer install "info proc" command.
251 * linux-nat.c: (enum info_proc_what): Remove.
252 (linux_nat_info_proc_cmd_1): Rename into ...
253 (linux_nat_info_proc): ... this. Update argument types as appropriate
254 for a to_info_proc implementation.
255 (linux_nat_info_proc_cmd): Remove.
256 (linux_nat_info_proc_cmd_mappings): Likewise.
257 (linux_nat_info_proc_cmd_stat): Likewise.
258 (linux_nat_info_proc_cmd_status): Likewise.
259 (linux_nat_info_proc_cmd_cwd): Likewise.
260 (linux_nat_info_proc_cmd_cmdline): Likewise.
261 (linux_nat_info_proc_cmd_exe): Likewise.
262 (linux_nat_info_proc_cmd_all): Likewise.
263 (linux_target_install_ops): Install linux_nat_info_proc.
264 (_initialize_linux_nat): No longer install "info proc" command
267 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
269 * configure.ac [AC_CHECK_FUNCS]: Check for readlink.
270 * config.in, configure: Regenerate.
272 * target.h (struct target_ops): Add to_fileio_readlink.
273 (target_fileio_readlink): Add prototype.
274 * target.c (target_fileio_readlink): New function.
276 * inf-child.c: Conditionally include <sys/param.h>.
277 (inf_child_fileio_readlink): New function.
278 (inf_child_target): Install it.
280 * remote.c (PACKET_vFile_readlink): New enum value.
281 (remote_hostio_readlink): New function.
282 (init_remote_ops): Install it.
283 (_initialize_remote): Handle vFile:readlink packet type.
285 2012-01-20 Pedro Alves <palves@redhat.com>
286 Ulrich Weigand <ulrich.weigand@linaro.org>
288 * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite.
289 * config.in, configure: Regenerate.
291 * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite,
292 to_fileio_pread, to_fileio_close, to_fileio_unlink.
293 (target_fileio_open): Add prototype.
294 (target_fileio_pwrite): Likewise.
295 (target_fileio_pread): Likewise.
296 (target_fileio_close): Likewise.
297 (target_fileio_unlink): Likewise.
298 (target_fileio_read_alloc): Likewise.
299 (target_fileio_read_stralloc): Likewise.
301 * target.c: Include "gdb/fileio.h".
302 (target_read_stralloc): Accept trailing, but not embedded NUL bytes.
303 (default_fileio_target): New function.
304 (target_fileio_open): Likewise.
305 (target_fileio_pwrite): Likewise.
306 (target_fileio_pread): Likewise.
307 (target_fileio_close): Likewise.
308 (target_fileio_unlink): Likewise.
309 (target_fileio_close_cleanup): Likewise.
310 (target_fileio_read_alloc_1): Likewise.
311 (target_fileio_read_alloc): Likewise.
312 (target_fileio_read_stralloc): Likewise.
314 * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>,
315 <fcntl.h>, and <unistd.h>.
316 (inf_child_fileio_open_flags_to_host): New function.
317 (inf_child_errno_to_fileio_error): Likewise.
318 (inf_child_fileio_open): Likewise.
319 (inf_child_fileio_pwrite): Likewise.
320 (inf_child_fileio_pread): Likewise.
321 (inf_child_fileio_close): Likewise.
322 (inf_child_fileio_unlink): Likewise.
323 (inf_child_target): Install to_fileio routines.
325 * remote.c (init_remote_ops): Install to_fileio routines.
327 2012-01-20 Pedro Alves <palves@redhat.com>
328 Ulrich Weigand <ulrich.weigand@linaro.org>
330 * remote.c (remote_multi_process_p): Only check for multi-process
331 protocol feature, do not check for extended protocol.
332 (remote_supports_multi_process): Check for extended protocol here.
333 (set_general_process): Likewise.
334 (extended_remote_kill): Likewise.
335 (remote_pid_to_str): Likewise.
336 (remote_query_supported): Always query multiprocess mode.
338 2012-01-20 Pedro Alves <palves@redhat.com>
339 Ulrich Weigand <ulrich.weigand@linaro.org>
341 * inferior.h (struct inferior): Add fake_pid_p.
342 * inferior.c (exit_inferior_1): Clear fake_pid_p.
343 * remote.c (remote_start_remote): Set fake_pid_p if we have to use
344 magic_null_ptid since the remote side doesn't provide a real PID.
346 2012-01-19 Tom Tromey <tromey@redhat.com>
348 * NEWS: Combine the two Python sections.
350 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
352 * target.h (target_close): Update comment on the target's unpush state.
354 2012-01-19 Pedro Alves <palves@redhat.com>
356 * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and
357 linux_nat_async directly instead of going through the target
359 * target.c (unpush_target): Close target after unpushing it, not
362 2012-01-19 Gary Benson <gbenson@redhat.com>
364 * mdebugread.c (sort_blocks): Replace integer constants with ones
365 derived from FIRST_LOCAL_BLOCK.
367 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
368 Jan Kratochvil <jan.kratochvil@redhat.com>
371 * symfile.c (find_separate_debug_file): New function.
372 (terminate_after_last_dir_separator): Likewise.
373 (find_separate_debug_file_by_debuglink): Also try realpath.
374 * configure.ac (AC_CHECK_FUNCS): Add lstat.
375 * configure: Regenerate.
376 * config.in: Regenerate.
378 2012-01-18 Doug Evans <dje@google.com>
380 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete.
381 (main.o): Remove rule.
382 * configure.ac (BINDIR): Define with AC_DEFINE_DIR.
383 (--with-sysroot): Rewrite.
384 * configure: Regenerate.
385 * config.in: Regenerate.
387 2012-01-18 Sergio Durigan Junior <sergiodj@redhat.com>
389 * parse.c (initialize_expout): New function.
390 (reallocate_expout): Likewise.
391 (parse_exp_in_context): Use `initialize_expout' and
392 `reallocate_expout' when appropriate.
394 2012-01-18 Pedro Alves <palves@redhat.com>
396 * record.c (struct record_breakpoint, record_breakpoint_p)
397 (record_breakpoints): New.
398 (record_insert_breakpoint, record_remove_breakpoint): Manage
399 record breakpoints list. Only remove breakpoints from the
400 inferior if they had been inserted there in the first place.
402 2012-01-17 Doug Evans <dje@google.com>
404 * linespec.c (decode_line_internal): Don't call symtabs_from_filename
405 if we know we don't have a file name to look for.
407 2012-01-17 Pedro Alves <palves@redhat.com>
409 * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if
410 the frame's stop reason is UNWIND_UNAVAILABLE.
412 2012-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
414 Fix compilation error.
415 * m2-exp.y (yyerror): Use ANSI C prototype.
417 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
419 * f-exp.y (parse_number): Convert prototype from K&R to ANSI C.
420 (growbuf_by_size): Likewise.
422 * m2-exp.y (make_qualname): Remove function (was #if 0'ed).
423 (modblock): Remove variable (was #if 0'ed).
424 (parse_number): Convert prototype from K&R to ANSI C.
426 * objc-exp.y (parse_number): Likewise.
428 (yylex): Remove #if 0'ed code.
429 * p-exp.y (uptok): Convert prototype from K&R to ANSI C.
432 2012-01-16 Tom Tromey <tromey@redhat.com>
435 * symtab.h (compare_filenames_for_search): Declare.
436 * symtab.c (compare_filenames_for_search): New function.
437 (iterate_over_some_symtabs): Use it.
438 * symfile.h (struct quick_symbol_functions)
439 <map_symtabs_matching_filename>: Change spec.
440 * psymtab.c (partial_map_symtabs_matching_filename): Use
441 compare_filenames_for_search. Update for new spec.
442 * dwarf2read.c (dw2_map_symtabs_matching_filename): Use
443 compare_filenames_for_search. Update for new spec.
444 * breakpoint.c (clear_command): Use compare_filenames_for_search.
446 2012-01-16 Tom Tromey <tromey@redhat.com>
449 * gdbtypes.h (TYPE_FLAG_ENUM): New macro.
450 (struct main_type) <flag_flag_enum>: New field.
451 * dwarf2read.c (process_enumeration_scope): Detect "flag" enums.
453 * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag"
455 * python/lib/gdb/printing.py (_EnumInstance): New class.
456 (FlagEnumerationPrinter): Likewise.
458 2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
460 * breakpoint.c (create_sals_from_address_default): New function.
461 (create_breakpoints_sal_default): Likewise.
462 (decode_linespec_default): Likewise.
463 (is_marker_spec): Removed.
464 (strace_marker_p): New function.
465 (init_breakpoint_sal): Using `strace_marker_p' instead of
467 (create_breakpoint): Call method `create_sals_from_address' from
468 breakpoint_ops, replacing code that created SALs conditionally
469 on the type of the breakpoint. Call method `create_breakpoints_sal',
470 replacing code that created breakpoints conditionally on the type
472 (base_breakpoint_create_sals_from_address): New function.
473 (base_breakpoint_create_breakpoints_sal): Likewise.
474 (base_breakpoint_decode_linespec): Likewise.
475 (base_breakpoint_ops): Add methods
476 `base_breakpoint_create_sals_from_address',
477 `base_breakpoint_create_breakpoints_sal' and
478 `base_breakpoint_decode_linespec'.
479 (bkpt_create_sals_from_address): New function.
480 (bkpt_create_breakpoints_sal): Likewise.
481 (bkpt_decode_linespec): Likewise.
482 (tracepoint_create_sals_from_address): Likewise.
483 (tracepoint_create_breakpoints_sal): Likewise.
484 (tracepoint_decode_linespec): Likewise.
485 (strace_marker_create_sals_from_address): Likewise.
486 (strace_marker_create_breakpoints_sal): Likewise.
487 (strace_marker_decode_linespec): Likewise.
488 (strace_marker_breakpoint_ops): New variable.
489 (addr_string_to_sals): Remove `marker_spec'. Call method
490 `decode_linespec' from breakpoint_ops, replacing code that decoded
491 an address string into a SAL. Use `strace_marker_p' instead of
493 (strace_command): Decide whether we are dealing with a static
494 tracepoint with marker or not. Use the appropriate breakpoint_ops.
495 (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops.
496 * breakpoint.h (linespec_result, linespec_sals): New forward
498 (breakpoint_ops) <create_sals_from_address>,
499 <create_breakpoints_sal>, <decode_linespec>: New methods.
501 2012-01-14 Doug Evans <dje@google.com>
503 * NEWS: Update text for "maint set python print-stack".
504 It is deprecated in gdb 7.4 and deleted in 7.5.
506 2012-01-13 Eli Zaretskii <eliz@gnu.org>
508 * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before
511 2012-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
513 * configure: Regenerate.
514 * config.in: Regenerate.
516 2012-01-12 Keith Seitz <keiths@redhat.com>
519 * varobj.c (ANONYMOUS_STRUCT_NAME): Define.
520 (ANONYMOUS_UNION_NAME): Define.
521 (is_path_expr_parent): New function.
522 (get_path_expr_parent): New function.
523 (is_anonymous_child): New function.
524 (create_child_with_value): If the child is anonymous and without
525 a name, assign an object name to it.
526 (c_describe_child): Use get_path_expr_parent to determine
527 the parent expression.
528 If there field represents an anonymous struct or union and
529 has no name, set an appropriate display name and expression.
530 (cplus_describe_child): Likewise.
532 2012-01-12 Pedro Alves <palves@redhat.com>
534 * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as
535 available when %ebp is found to be zero (outermost).
537 2012-01-11 Andreas Tobler <andreast@fgznet.ch>
539 * common/gdb_assert.h (gdb_static_assert): Rename static_assert to
540 an internal gdb_static_assert.
541 * mi/mi-common.c: Rename static_assert to gdb_static_assert.
543 2012-01-11 Tom Tromey <tromey@redhat.com>
546 * breakpoint.c (_initialize_breakpoint): Fix help for "catch
547 catch" and "catch throw".
549 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
551 * blockframe.c (block_innermost_frame): Start search from selected
552 frame, if present, or otherwise the current frame.
554 * c-exp.y (variable): Update innermost_block for
555 'block COLONCOLON NAME' clause.
556 * m2-exp.y (variable): Ditto.
557 * objc-exp.y (variable): Ditto.
559 2012-01-10 Tom Tromey <tromey@redhat.com>
562 * python/python.c (finish_python_initialization): Set sys.argv.
564 2012-01-10 Doug Evans <dje@google.com>
566 * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
567 "want_line_info". All callers updated.
568 (dwarf_decode_lines_1): New function.
569 (handle_DW_AT_stmt_list): Add function comment.
570 New arg "want_line_info". All callers updated.
571 (read_file_scope,read_type_unit_scope): Move comment from
572 handle_DW_AT_stmt_list to here.
574 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
576 Fix regression after libiberty/ update for GCC PR 6057 and others.
577 * c-exp.y (operator) <OPERATOR DELETE>
578 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
579 * cp-name-parser.y (fill_comp, make_operator, make_dtor)
580 (make_builtin_type, make_name): New variable i, add gdb_assert.
581 (operator) <OPERATOR NEW>: Update ARGS to 3.
582 (operator) <OPERATOR DELETE>: Add trailing space.
583 (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3.
584 (operator) <OPERATOR DELETE '[' ']'>: Add trailing space.
585 * cp-support.c (cp_canonicalize_string): Check NULL from
586 cp_comp_to_string, call warning and return.
588 2012-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
590 Fix duplicate .o files after omitting libbfd.a.
591 * Makefile.in (ALL_TARGET_OBS): Remove corelow.o.
592 (SFILES): Add corelow.c.
593 (COMMON_OBS): Add corelow.o.
594 (ALLDEPFILES): Remove corelow.c.
595 * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o.
596 * config/alpha/alpha-osf3.mh: Likewise.
597 * config/alpha/fbsd.mh: Likewise.
598 * config/arm/nbsdaout.mh: Likewise.
599 * config/arm/nbsdelf.mh: Likewise.
600 * config/i386/i386gnu.mh: Likewise.
601 * config/ia64/hpux.mh: Likewise.
602 * config/ia64/linux.mh: Likewise.
603 * config/m32r/linux.mh: Likewise.
604 * config/m68k/linux.mh: Likewise.
605 * config/mips/irix5.mh: Likewise.
606 * config/mips/irix6.mh: Likewise.
607 * config/pa/hpux.mh: Likewise.
608 * config/pa/linux.mh: Likewise.
609 * config/powerpc/aix.mh: Likewise.
610 * config/sparc/linux.mh: Likewise.
611 * config/sparc/linux64.mh: Likewise.
612 * config/sparc/sol2.mh: Likewise.
613 * config/vax/vax.mh: Likewise.
614 * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu)
615 (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*)
616 (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*)
617 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*)
618 (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*)
619 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*)
620 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*)
621 (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*)
622 (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*)
623 (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu)
624 (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*)
625 (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*)
626 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
627 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*)
628 (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*)
629 (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
630 (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*)
631 (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu)
632 (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*)
633 (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*)
634 (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*)
635 (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove
636 corelow.o from gdb_target_obs.
637 * corefile.c (core_target): Update the comment on NULL value.
638 (core_file_command): Replace error by gdb_assert on CORE_TARGET.
639 * corelow.c (sniff_core_bfd): Call error instead of warning on zero
640 MATCHES. Drop YUMMY set on NULL.
641 (core_close): Do not call exit_inferior_silent on zero PID. Do not
642 reclaim CORE_DATA if it is already NULL.
644 2012-01-09 Doug Evans <dje@google.com>
646 * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.
647 * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.
649 2012-01-09 Keith Seitz <keiths@redhat.com>
651 * breakpoint.c (wrapper.h): Don't include.
653 2012-01-09 Keith Seitz <keiths@redhat.com>
655 * Makefile.in (SFILES): Remove wrapper.c.
656 (HFILES_NO_SRCDIR): Remove wrapper.h.
657 (COMMON_OBS): Remove wrapper.o.
658 * cli/cli-interp.c: Don't inlude wrapper.h.
659 * corelow.c: Likewise.
660 (core_open): Replace gdb_target_find_new_threads with
661 TRY_CATCH around target_find_new_threads.
662 * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
663 * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
664 * varobj.c (varobj_create): Likewise for parse_exp_1 and
666 (varobj_set_value): Likewise for evaluate_expression and
668 (install_new_variable): Likewise for value_fetch_lazy.
669 (adjust_value_for_child_access): Likewise for value_ind.
670 (c_describe_child): Likewise for value_subscript and
672 (c_value_of_root): Likewise for evaluate_expression.
676 2012-01-09 Doug Evans <dje@google.com>
678 * dwarf2read.c (read_and_check_comp_unit_head): Renamed from
679 partial_read_comp_unit_head. Replace "buffer", "buffer_size" and
680 "abfd" args with "section". All callers updated.
681 Error checking code moved ...
682 (error_check_comp_unit_head): ... here. New function.
683 (read_and_check_type_unit_head): Renamed from read_type_unit_head.
684 Delete arg "abfd". New arg "type_offset". All callers updated.
685 (create_debug_types_hash_table): Simplify by using
686 read_and_check_type_unit_head.
688 * parser-defs.h (namecopy): Delete.
689 * parse.c (namecopy, namecopy_size): Move into copy_name.
691 2012-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
693 Partially fix duplicate .o files after omitting libbfd.a.
694 * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o.
695 * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
696 * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o.
697 * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o.
698 * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o.
699 * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o.
700 * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o.
702 2012-01-09 Pedro Alves <palves@redhat.com>
704 * MAINTAINERS: Update my email address.
706 2012-01-08 Doug Evans <dje@google.com>
708 * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to
709 n_type_units. Rename type_comp_units to all_type_units.
711 (add_signatured_type_cu_to_table): Renamed from
712 add_signatured_type_cu_to_list. All callers updated.
714 * gdbtypes.h (struct cplus_struct_type): Delete member
715 nfn_fields_total. All uses removed.
717 2012-01-06 Doug Evans <dje@google.com>
719 * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard
721 (dwarf2_find_comp_unit): Delete.
722 (process_psymtab_comp_unit): Make result "void".
723 Delete args buffer, info_ptr, buffer_size, and replace with
724 "section". All callers updated.
725 (dwarf2_build_psymtabs_hard): Simplify.
727 2012-01-06 Sergio Durigan Junior <sergiodj@redhat.com>
728 Thiago Jung Bauermann <bauerman@br.ibm.com>
730 * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword
731 before `struct gdb_exception'.
732 * breakpoint.c (update_global_location_list_nothrow)
733 (update_breakpoint_locations, enable_breakpoint_disp): Likewise.
734 * cp-abi.c (value_rtti_type): Likewise.
735 * cp-support.c (cp_validate_operator): Likewise.
736 * infrun.c (insert_exception_resume_breakpoint)
737 (check_exception_resume, keep_going): Likewise.
738 * mi-interp.c (mi_breakpoint_created)
739 (mi_breakpoint_modified): Likewise.
740 * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise.
741 * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p)
742 (ia64_hpux_handle_dld_breakpoint_1): Likewise.
744 2012-01-05 Doug Evans <dje@google.com>
746 * dwarf2read.c (statement_prologue): Delete, unused.
748 * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int.
749 * dwarf2loc.h (dwarf2_per_cu_addr_size): Update.
751 * dwarf2read.c (comp_unit_header): Delete, unused.
753 2012-01-05 Ulrich Weigand <uweigand@de.ibm.com>
755 * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o.
756 * config/s390/s390.mh (NATDEPFILES): Remove corelow.o.
758 2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu>
760 * infrun.c (normal_stop): Don't skip calling the normal_stop
761 observers if the thread was doing a multi-step, but stopped for
762 some reason other than stepping.
764 2012-01-05 Pedro Alves <alves.ped@gmail.com>
766 * cli/cli-decode.h: Add comments.
767 (CMD_LIST_AMBIGUOUS): Moved to command.h
768 (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
769 (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq)
770 (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1)
771 (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition)
772 (add_com, add_com_alias, add_info, add_info_alias)
773 (complete_on_cmdlist, complete_on_enum, help_list): Remove
775 * command.h: Add and adjust comments.
776 (CMD_LIST_AMBIGUOUS): Moved here.
777 (help_cmd, help_cmd_list): Delete declarations.
779 2012-01-04 Doug Evans <dje@google.com>
781 * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd".
783 (load_full_type_unit): Renamed from read_signatured_type_at_offset.
784 Replace all arguments with "per_cu". All callers updated.
786 * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment.
788 * dwarf2read.c (init_one_comp_unit): Delete arg "objfile".
789 New arg "per_cu". All callers updated.
791 Delete #if 0'd out code.
792 * language.c (binop_result_type): Delete.
793 (simple_type, ordered_type, same_type, integral_type): Delete.
794 (numeric_type, character_type, string_type, boolean_type): Delete.
795 (float_type, structured_type): Delete.
796 * language.h: Update.
798 2012-01-04 Tom Tromey <tromey@redhat.com>
800 * python/py-value.c (valpy_binop): Initialize 'res_val'.
802 2012-01-04 Joel Brobecker <brobecker@adacore.com>
804 * corefile.c (close_exec_file): Delete.
805 (reopen_exec_file): Remove commented out code that seems related
806 to close_exec_file, which is being deleted here.
807 * inferior.h (close_exec_file): Delete.
808 * fork-child.c (fork_inferior): Remove call to fork_inferior.
810 2012-01-04 Joel Brobecker <brobecker@adacore.com>
812 * ada-lang.c: #include "cli/cli-utils.h".
813 (get_selections): Use skip_spaces.
814 (ada_get_next_arg): Use skip_spaces and skip_to_space.
815 (catch_ada_exception_command_split): Use skip_spaces.
816 (ada_decode_assert_location): Likewise.
818 2012-01-04 Joel Brobecker <brobecker@adacore.com>
820 * linespec.c (decode_line_internal): Check for C++ or Java
821 compound constructs only if the current language is C, C++
824 2012-01-04 Jan Kratochvil <jan.kratochvil@redhat.com>
827 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
828 Joel Brobecker <brobecker@adacore.com>
829 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
830 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
832 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
833 fall through into AT_ENTRY_POINT.
834 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
836 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
837 PPC_INSN_SIZE skip to 3 times.
839 2012-01-04 Joel Brobecker <brobecker@adacore.com>
841 * linespec.c (add_minsym): Preserve function descriptors.
843 2012-01-04 Ulrich Weigand <uweigand@de.ibm.com>
845 * breakpoint.c (all_locations_are_pending): Consider locations
846 in program spaces executing during startup pending as well.
848 2012-01-04 Joel Brobecker <brobecker@adacore.com>
850 Copyright year update in most files of the GDB Project.
852 2012-01-04 Joel Brobecker <brobecker@adacore.com>
854 * copyright.sh: Delete.
855 * copyright.py: Rewrite.
857 2012-01-04 Joel Brobecker <brobecker@adacore.com>
859 * gnulib/extra/update-copyright: New file, imported from gnulib.
861 2012-01-04 Joel Brobecker <brobecker@adacore.com>
863 * README (Copyright and License Notices): New section.
865 2012-01-03 Tom Tromey <tromey@redhat.com>
868 * python/py-value.c (valpy_dereference, valpy_get_address
869 valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
870 (valpy_getitem, valpy_call, valpy_binop, valpy_negative)
871 (valpy_absolute, valpy_richcompare): Free intermediate values.
873 2011-01-03 Joel Brobecker <brobecker@adacore.com>
875 * ada-lang.c: Reformat the copyright notice.
877 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
879 * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
880 * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*)
881 (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
882 (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o.
884 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
885 Build gdb directly from *.o files not using libgdb.a.
886 * Makefile.in (COMMON_OBS): Remove solib-target.o.
888 2012-01-02 Joel Brobecker <brobecker@adacore.com>
890 * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c,
891 gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c:
892 Reformat the copyright header.
894 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
897 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
898 Remove the gdbtui binary.
899 * gdb.c (main): Remove args.interpreter_p initialization.
900 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
901 * main.h (struct captured_main_args): Remove interpreter_p.
903 2012-01-02 Joel Brobecker <brobecker@adacore.com>
905 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
907 2012-01-02 Joel Brobecker <brobecker@adacore.com>
909 * top.c (print_gdb_version): Update copyright year.
911 2012-01-02 Yao Qi <yao@codesourcery.com>
913 * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent.
915 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
916 Joel Brobecker <brobecker@adacore.com>
918 Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
919 * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
921 * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
922 fall through into AT_ENTRY_POINT.
923 (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
925 * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
926 PPC_INSN_SIZE skip to 3 times.
928 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
930 * amd64-linux-nat.c (update_debug_registers_callback): New comment on
932 * i386-linux-nat.c (update_debug_registers_callback): Likewise.
934 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
936 Build gdb directly from *.o files not using libgdb.a.
937 * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o.
938 (COMMON_OBS): Remove solib-target.o.
939 (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule.
940 (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS).
941 (LIBGDB_OBS, libgdb.a): Move it above.
942 * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*)
943 (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu)
944 (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe)
945 (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu)
946 (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*)
947 (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*)
948 (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu)
949 (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*)
950 (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*)
951 (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*)
952 (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
953 (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*)
954 (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*)
955 (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*)
956 (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*)
957 (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*)
958 (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*)
959 (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*)
960 (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*)
961 (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu)
962 (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*)
963 (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*)
964 (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*)
965 (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*)
966 (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu)
967 (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*)
968 (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs.
970 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
972 Remove the gdbtui binary.
973 * .gitignore (/gdbtui): Remove.
974 * Makefile.in (TUI): Remove.
975 (SUBDIR_TUI_OBS): Remove tui-main.o.
976 (SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
977 (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
978 (tui-main.o): Remove.
979 (all_object_files): Remove tui-main.o.
980 * NEWS: New note for the gdbtui removal.
981 * configure: Rebuilt.
982 * configure.ac: No longer add all-tui, clean-tui, install-tui and
983 uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
984 CONFIG_UNINSTALL respectively.
985 * gdb.c (main): Remove args.interpreter_p initialization.
986 * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
987 * main.h (struct captured_main_args): Remove interpreter_p.
988 * tui/tui-main.c: Remove.
990 2012-01-01 Doug Evans <dje@google.com>
992 * dwarf2read.c (dwarf2_compute_name): Simplify objfile references.
993 (dwarf2_physname, read_import_statement): Ditto.
994 (read_call_site_scope, dwarf2_record_block_ranges): Ditto.
995 (process_structure_scope read_subroutine_type): Ditto.
996 (read_typedef, load_partial_dies, read_partial_die): Ditto.
997 (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto.
998 (dwarf2_fetch_die_location_block): Ditto.
999 (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto.
1001 * dwarf2read.c (read_signatured_type): Delete `objfile' arg.
1002 All callers updated.
1003 (load_full_comp_unit, queue_comp_unit, process_queue): Ditto.
1004 (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto.
1005 (process_psymtab_comp_unit, load_partial_comp_unit): Ditto.
1007 * dwarf2read.c (load_cu): Move assert to more useful location.
1009 * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit.
1010 All callers updated.
1012 * dwarf2read.c (dwarf2_per_objfile): Add comment.
1013 (dwarf2_elf_names): Minor reformat.
1014 (dwarf2_per_cu_data): Tweak comment.
1015 (dwarf2_read_section): Fix comment.
1016 (create_all_comp_units): Fix comment.
1017 (load_full_comp_unit): Fix comment.
1018 (process_full_comp_unit): Fix comment.
1019 (read_signatured_type): Fix comment.
1021 For older changes see ChangeLog-2011.
1027 version-control: never