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