X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=1a7550811584e215c8f8d518bbd1223c2baaaa42;hb=57651221de401ff77b3c43e2b678190e574f9baa;hp=2def55d883326906645351e376c6da1c49cc9f7a;hpb=b7b189f3cf682e67fb3ccd5908ec4b980735a620;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2def55d883..1a75508115 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,10 +1,456 @@ +2012-03-15 Tom Tromey + + * NEWS: Mention "info vtbl", not "info vtable". + * cp-support.c (info_vtbl_command): Fix comment. + (_initialize_cp_support): Fix text. + +2012-03-15 Tom Tromey + + * cp-valprint.c (cp_print_value_fields): Use + print_function_pointer_address for vtable slot. + +2012-03-15 Tom Tromey + + * gnu-v3-abi.c (struct value_and_voffset): New. + (hash_value_and_voffset, eq_value_and_voffset) + (compare_value_and_voffset, compute_vtable_size) + (print_one_vtable, gnuv3_print_vtable): New functions. + (init_gnuv3_ops): Initialize 'print_vtable' field. + * cp-support.c (info_vtbl_command): New function. + (_initialize_cp_support): Add "info vtbl". + * cp-abi.h (cplus_print_vtable): Declare. + (struct cp_abi_ops) : New field. + * cp-abi.c (cplus_print_vtable): New function. + * NEWS: Update. + +2012-03-15 Tom Tromey + + * d-lang.c (d_language_defn) : Set to + iterate_over_symbols. + +2012-03-14 Doug Evans + + * dwarf2read.c (dwarf_stack_op_name): Add DW_OP_GNU_encoded_addr, + DW_OP_GNU_parameter_ref. + +2012-03-14 Jan Kratochvil + + Fix double prompt of 'interpreter-exec mi'. + * mi/mi-interp.c (mi_execute_command_input_handler): New prototype. + (mi_interpreter_resume): use it. + (mi_execute_command_input_handler): New function. + * mi/mi-main.c (mi_execute_command): Move prompt printing to + mi_execute_command_input_handler. + +2012-03-13 Josh Matthews (tiny change) + + * darwin-nat-info.c (_initialize_darwin_info_commands): Add + prototype. + (darwin_debug_port_info): Make static. + * darwin-nat.c (_initialize_darwin_inferior): Add prototype. + * machoread.c (_initialize_machoread): Add prototype. + * i386-darwin-nat.c (i386_darwin_dr_set, i386_darwin_dr_get) + (i386_darwin_set_control, i386_darwin_get_control) + i386_darwin_dr_set_addr, i386_darwin_get_addr) + i386_darwin_get_status, i386_darwin_get_control): + Comment out with HW_WATCHPOINT_NOT_YET_ENABLED macro. + +2012-03-13 Joel Brobecker + + * ax-gdb.c (gen_usual_unary): Remove special handling of + enum and bool types. + +2012-03-13 Joel Brobecker + + * ax-gdb.c (gen_fetch): Add handling for TYPE_CODE_RANGE types. + +2012-03-13 Joel Brobecker + + * aix-thread.c (supply_fprs): Make more consistent with fill_fprs. + +2012-03-13 Chris January + + * aix-thread.c (fill_sprs): Store the floating point registers + at the correct offsets into vals. + +2012-03-13 Doug Evans + + * NEWS: Mention symbol-reloading has been deleted. + * symfile.c (symbol_reloading): Delete. + (show_symbol_reloading): Delete. + (_initialize_symfile): Delete set/show symbol-reloading. + + * dwarf2read.c (load_partial_comp_unit): Defer adding cu to + read_in_chain until we have successfully read it in. + (load_full_comp_unit): Ditto. + (read_signatured_type): Add comment. + +2012-03-13 Chris January + + * stabsread.c (fix_common_block): Change type of valu argument + to CORE_ADDR. + +2012-03-13 Chris January + + * rs6000-tdep.c (skip_prologue): Support the oril r29, r1, 0x0 + instruction. + +2012-03-13 Jan Kratochvil + + * common/linux-procfs.c (linux_proc_get_int): New, from + linux_proc_get_tgid, change its LWPID type to pid_t, add parameter + field. + (linux_proc_get_tgid): Only call linux_proc_get_int. + (linux_proc_get_tracerpid): New. + (linux_proc_pid_has_state): New, from linux_proc_pid_is_zombie. + (linux_proc_pid_is_stopped, linux_proc_pid_is_zombie): Only call + linux_proc_pid_has_state. + * common/linux-procfs.h (linux_proc_get_tracerpid): New declaration. + * common/linux-ptrace.c: Include linux-procfs.h and buffer.h. + (linux_ptrace_attach_warnings): New. + * common/linux-ptrace.h (struct buffer, linux_ptrace_attach_warnings): + New declaration. + * linux-nat.c: Include exceptions.h, linux-ptrace.h and buffer.h. + (linux_nat_attach): New variables ex, buffer, message and message_s. + Wrap to_attach by TRY_CATCH and call linux_ptrace_attach_warnings. + +2012-03-13 Jan Kratochvil + + * Makefile.in (linux-ptrace.o): New. + * common/linux-procfs.c (linux_proc_pid_is_zombie): New, + from linux-nat.c. + * common/linux-procfs.h (linux_proc_pid_is_zombie): New declaration. + * common/linux-ptrace.c: New file. + * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-ptrace.o. + * config/arm/linux.mh: Likewise. + * config/i386/linux.mh: Likewise. + * config/i386/linux64.mh: Likewise. + * config/ia64/linux.mh: Likewise. + * config/m32r/linux.mh: Likewise. + * config/m68k/linux.mh: Likewise. + * config/mips/linux.mh: Likewise. + * config/pa/linux.mh: Likewise. + * config/powerpc/linux.mh: Likewise. + * config/powerpc/ppc64-linux.mh: Likewise. + * config/powerpc/spu-linux.mh: Likewise. + * config/s390/s390.mh: Likewise. + * config/sparc/linux.mh: Likewise. + * config/sparc/linux64.mh: Likewise. + * config/xtensa/linux.mh: Likewise. + * linux-nat.c (linux_lwp_is_zombie): Remove, move it to + common/linux-procfs.c. + (wait_lwp): Rename linux_lwp_is_zombie to linux_proc_pid_is_zombie. + +2012-03-13 Hui Zhu + Pedro Alves + + * breakpoint.c (init_breakpoint_sal): New flags parameter. Handle + CREATE_BREAKPOINT_FLAGS_INSERTED. + (create_breakpoint_sal, create_breakpoints_sal) + (base_breakpoint_create_breakpoints_sal) + (tracepoint_create_breakpoints_sal) + (strace_marker_create_breakpoints_sal): New flags parameter. Pass + down. + (break_command_1, handle_gnu_v3_exceptions, trace_command) + (ftrace_command, strace_command): Adjust. + (create_tracepoint_from_upload): Pass + CREATE_BREAKPOINT_FLAGS_INSERTED. + * breakpoint.h (enum breakpoint_create_flags): New. + (create_breakpoint): New flags parameter. + * mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust. + * python/py-breakpoint.c (bppy_init): Adjust. + * python/py-finishbreakpoint.c (bpfinishpy_init): Adjust. + * spu-tdep.c (spu_catch_start): Adjust. + +2012-03-13 Pedro Alves + Hui Zhu + Yao Qi + + * remote.c (struct remote_state): New field `starting_up'. + (remote_start_remote): Set and clear it. + (remote_can_download_tracepoint): If starting up, return false. + +2012-03-13 Yao Qi + + * inferior.h (struct inferior): Remove fields any_syscall_count, + syscalls_counts and total_syscalls_count. Move them to new + struct catch_syscall_inferior_data in breakpoint.c. + * breakpoint.c: Call DEF_VEC_I(int). + (struct catch_syscall_inferior_data): New. + (get_catch_syscall_inferior_data): New. + (catch_syscall_inferior_data_cleanup): New. + (insert_catch_syscall): Update to access data in + struct catch_syscall_inferior_data. + (insert_catch_syscall): Likewise. + (remove_catch_syscall): Likewise. + (remove_catch_syscall): Likewise. + (is_syscall_catchpoint_enabled): Likewise. + (add_catch_command): Likewise. + (_initialize_breakpoint): Register cleanup. + * breakpoint.h: Removed DEF_VEC_I(int). + * dwarf2loc.c: Call DEF_VEC_I(int). + * mi/mi-main.c: Likewise. + +2012-03-12 Mark Kettenis + + * inf-ptrace.c (inf_ptrace_post_attach): Make static. + +2012-03-12 Chris January + + * aix-thread.c (_initialize_aix_thread): Add prototype. + * rs6000-nat.c (_initialize_rs6000_nat): Ditto. + * xcoffsolib.c (_initialize_xcoffsolib): Ditto. + +2012-03-12 Joel Brobecker + + * amd64bsd-nat.c: Move #include of "amd64bsd-nat.h" after + include of "amd64-nat.h". + +2012-03-12 Tom Tromey + + * buildsym.c (record_pending_block): Now static. + * buildsym.h: (record_pending_block): Remove. + +2012-03-12 Andreas Tobler + + * amd64bsd-nat.c: Include amd64bsd-nat.h. + +2012-03-09 Tom Tromey + + * dwarf2read.c (struct dwarf2_cu) : New fields. + (producer_is_gxx_lt_4_6): Use and update producer cache fields. + +2012-03-09 Tom Tromey + + * dwarf2read.c (dwarf2_attr): Avoid tail-recursive call. + +2012-03-08 Joel Brobecker + + * ravenscar-sparc-thread.c (_initialize_ravenscar_sparc): Add + prototype. + +2012-03-08 Joel Brobecker + + * ravenscar-thread.c (_initialize_ravenscar): Add prototype. + +2012-03-08 Jan Kratochvil + + Fix -Wmissing-prototypes build. + * arm-linux-nat.c (get_thread_id): Make it static. + * xtensa-linux-nat.c (get_thread_id): Likewise. + +2012-03-08 Joel Brobecker + + * server.c (process_point_options): If a conditional expression + is found, only print a message if remote_debug is nonzero. + +2012-03-08 Luis Machado + + * ax-gdb.c (gen_fetch): Fail gracefully and use error instead + of internal error for unknown/unsupported types. + +2012-03-08 Jan Kratochvil + + Fix CU relative vs. absolute DIE offsets. + * dwarf2loc.h (dwarf2_fetch_die_location_block): Rename parameter + offset to offset_in_cu. + * dwarf2read.c (process_enumeration_scope): Add CU offset to + TYPE_OFFSET. + (dwarf2_fetch_die_location_block): Rename parameter offset to + offset_in_cu. New variable offset, add CU offset to OFFSET_IN_CU. + +2012-03-08 Jan Kratochvil + + * libunwind-frame.c: Rename to ... + * ia64-libunwind-tdep.c: ... here. + * libunwind-frame.h: Rename to ... + * ia64-libunwind-tdep.h: ... here. + * Makefile.in (HFILES_NO_SRCDIR): Rename libunwind-frame.h to + ia64-libunwind-tdep.h. + (ALLDEPFILES): Rename libunwind-frame.c to ia64-libunwind-tdep.c. + * README (--with-libunwind): Rename to ... + (--with-libunwind-ia64): ... here, note it is ia64 specific now. + * config.in: Regenerate. + * configure: Regenerate. + * configure.ac: New option --with-libunwind-ia64, make the + AS_HELP_STRING ia64 specific. Deprecate option --with-libunwind. + Remove AC_DEFINE for HAVE_LIBUNWIND. + * ia64-libunwind-tdep.c: Make the file top comment ia64 specific. + Rename libunwind-frame.h #include to ia64-libunwind-tdep.h. + Rename libunwind-frame in the general comment. + * ia64-libunwind-tdep.h: Make the file top comment ia64 specific. + Rename symbol LIBUNWIND_FRAME_H to IA64_TDEP_LIBUNWIND_FRAME_H. + Move forward declarations inside #ifndef. Rename libunwind-frame in + the general comment. + * ia64-tdep.c: Rename libunwind-frame.h #include to + ia64-libunwind-tdep.h. + (ia64_gdb2uw_regnum, ia64_uw2gdb_regnum, ia64_is_fpreg) + (ia64_libunwind_descr): Rename libunwind-frame to + ia64-libunwind-tdep in these function comments. + * ia64-tdep.h: Rename libunwind-frame.h #include to + ia64-libunwind-tdep.h. + * ia64-vms-tdep.c (ia64_vms_libunwind_descr): Rename libunwind-frame to + ia64-libunwind-tdep in that data comment. + +2012-03-08 Jan Kratochvil + + * libunwind-frame.h (struct frame_unwind): New declaration. + +2012-03-08 Joel Brobecker + + * breakpoint.c (_initialize_breakpoint): Fix error in help of + "set breakpoint condition-evaluation" command. + +2012-03-08 Tristan Gingold + + * sparc-stub.c: Move to stubs/ + * sh-stub.c: Likewise. + * m68k-stub.c: Likewise. + * m32r-stub.c: Likewise. + * i386-stub.c: Likewise. + +2012-03-08 Andreas Schwab + + * m68klinux-tdep.c (m68k_linux_init_abi): Register + linux_get_siginfo_type. + + * m68klinux-nat.c: Include "gdb_proc_service.h". + (PTRACE_GET_THREAD_AREA): Define. + (ps_get_thread_area): New function. + +2012-03-08 Yao Qi + + * remote.c (remote_get_noisy_reply): Replace `sprintf' with + `xsnprintf'. + (remote_query_attached): Likewise. + (remote_static_tracepoint_marker_at): Likewise. + (remote_set_permissions): Likewise. + (remote_detach_1, extended_remote_attach_1): Likewise. + (send_g_packet, remote_vkill): Likewise. + (extended_remote_disable_randomization): Likewise. + (remote_add_target_side_condition): Likewise. + (remote_insert_breakpoint): Likewise. + (remote_remove_breakpoint): Likewise. + (remote_insert_watchpoint): Likewise. + (remote_remove_watchpoint): Likewise. + (remote_insert_hw_breakpoint): Likewise. + (remote_insert_hw_breakpoint): Likewise. + (remote_remove_hw_breakpoint): Likewise. + (remote_download_command_source): Likewise. + (remote_download_tracepoint): Likewise. + (remote_download_trace_state_variable): Likewise. + (remote_disable_tracepoint): Likewise. + (remote_trace_set_readonly_regions): Likewise. + (remote_get_tracepoint_status): Likewise. + (remote_trace_find): Likewise. + (remote_get_trace_state_variable_value): Likewise. + (remote_set_disconnected_tracing): Likewise. + (remote_set_circular_trace_buffer): Likewise. + (remote_get_min_fast_tracepoint_insn_len): Likewise. + (remote_use_agent): Likewise. + (remote_add_target_side_condition): Add one parameter BUF_SIZE. + Update callers. + +2012-03-07 Pedro Alves + + * NEWS: Mention QProgramSignals. + * inferior.h (update_signals_program_target): Declare. + * infrun.c: (update_signals_program_target): New. + (handle_command): Update the target of the new program signals + array changes. + * remote.c (PACKET_QProgramSignals): New enum. + (last_program_signals_packet): New global. + (remote_program_signals): New. + (remote_start_remote): Update the target with the program signals + list. + (remote_protocol_features): Add entry for QPassSignals. + (remote_open_1): Free anc clear last_program_signals_packet. + (init_remote_ops): Install remote_program_signals. + * target.c (update_current_target): Adjust. + (target_program_signals): New. + * target.h (struct target_ops) : New field. + (target_program_signals): Declare. + +2012-03-07 Pedro Alves + + * NEWS: Add subtitle for new z0/z1 conditional breakpoint + extensions. + +2012-03-07 Andreas Schwab + + * m68klinux-nat.c (getregs_supplies): Make static. + (getfpregs_supplies): Likewise. + (have_ptrace_getregs): Likewise. + +2012-03-06 Joel Brobecker + + * dwarf2read.c (dwarf2_get_die_type): Pass absolute offset + in call to get_die_type_at_offset. + +2012-03-06 Stan Shebs + + * mi/mi-cmd-break.c: Enforce coding standards, fix comments. + * mi/mi-cmd-disas.c: Ditto. + * mi/mi-cmd-env.c: Ditto. + * mi/mi-cmd-file.c: Ditto. + * mi/mi-cmd-stack.c: Ditto. + * mi/mi-cmd-target.c: Ditto. + * mi/mi-cmd-var.c: Ditto. + * mi/mi-cmds.c: Ditto. + * mi/mi-cmds.h: Ditto. + * mi/mi-console.c: Ditto. + * mi/mi-getopt.c: Ditto. + * mi/mi-getopt.h: Ditto. + * mi/mi-interp.c: Ditto. + * mi/mi-main.c: Ditto. + * mi/mi-out.c: Ditto. + * mi/mi-parse.c: Ditto. + * mi/mi-parse.h: Ditto. + * mi/mi-symbol-cmds.c: Ditto. + + * mi/mi-getopt.h: Move mi_opt struct up. + * mi/mi-main.c (captured_mi_execute_command): Remove redundant + return. + * mi/mi-out.c (_initialize_mi_out): Remove empty initialize. + +2012-03-06 Tom Tromey + + * proc-service.c (ps_pglobal_lookup): Set the current program + space. + +2012-03-06 Pedro Alves + + * gregset.h [HAVE_SYS_PROCFS_H]: Include . + +2012-03-05 Joel Brobecker + + * MAINTAINERS: List Maciej W. Rozycki as the mips maintainer. + +2012-03-05 Jan Kratochvil + + Code cleanup. + * common/linux-osdata.c (linux_common_core_of_thread): New function + comment. + * linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1 + call by linux_common_core_of_thread. + (linux_nat_core_of_thread_1): Remove. + * linux-nat.h (linux_nat_core_of_thread_1): Remove declaration. + * linux-thread-db.c: Include linux-osdata.h. + (update_thread_core): Replace linux_nat_core_of_thread_1 call by + linux_common_core_of_thread. + +2012-03-05 Tom Tromey + + * value.c (value_primitive_field): Don't fetch contents for + non-virtual bases. + 2012-03-05 Tom Tromey * jv-valprint.c (java_value_print): Correctly compute 'obj_addr'. -2012-03-05 Joel Brobecker +2012-03-05 Andreas Arnez - From Andreas Arnez : * s390-nat.c: Include "gregset.h". 2012-03-05 Jan Kratochvil @@ -783,9 +1229,8 @@ * infcmd.c (finish_forward): Likewise. * infrun.c (insert_exception_resume_breakpoint): Likewise. -2012-02-28 Joel Brobecker +2012-02-28 Tristan Gingold - From Tristan Gingold . * ada-tasks.c (ada_tasks_inferior_data_sniffer): Rework code to avoid variable assignments inside condition.