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