X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=10909eb49ad2978333c856cab1dadcf580fb8649;hb=5d6210f04389cc54d1937e309ea48e979a352e54;hp=5756020456385c93191c7c1fefdc90177c704a9b;hpb=d3ea68091c7b557fa76c915778273f6b9a743938;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5756020456..10909eb49a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,447 @@ +2005-04-16 Mark Kettenis + + * ppcobsd-tdep.c: Fix typo in comment. + (_initialize_ppcobsd_tdep): Register GDB_OSABI_OPENBSD_ELF for + bfd_arch_rs6000 too. + +2005-04-15 Kevin Buettner + + * remote.c (remote_get_thread_local_address): Throw a more + meaningful exception when remote target doesn't have support + for the qGetTLSAddr packet. + +2005-04-15 Kevin Buettner + + * remote.c (remote_protocol_qGetTLSAddr): New static global variable. + (set_remote_protocol_qGetTLSAddr_packet_cmd) + (show_remote_protocol_qGetTLSAddr_packet_cmd) + (remote_get_thread_local_address): New functions. + (init_all_packet_configs): Initialize remote_protocol_qGetTLSAddr + variable. + (init_remote_ops): Initialize ``to_get_thread_local_address'' in + target vector. + (show_remote_cmd): Call show_remote_protocol_qGetTLS_Addr_packet_cmd(). + (_initialize_remote): Register the following commands: + "set remote get-thread-local-storage-address-packet" and + "show remote get-thread-local-address-packet". + +2005-04-15 Kevin Buettner + + * remote.c (add_packet_config_cmd): Delete unused variables. + +2005-04-15 Kevin Buettner + + * remote.c (show_remote_protocol_vcont_packet_cmd ) + (show_remote_protocol_qSymbol_packet_cmd) + (show_remote_protocol_P_packet_cmd) + (show_remote_protocol_Z_software_bp_packet_cmd) + (show_remote_protocol_Z_hardware_bp_packet_cmd) + (show_remote_protocol_Z_write_wp_packet_cmd) + (show_remote_protocol_Z_read_wp_packet_cmd) + (show_remote_protocol_Z_access_wp_packet_cmd) + (show_remote_protocol_binary_download_cmd) + (show_remote_protocol_qPart_auxv_packet_cmd) + (show_remote_protocol_p_packet_cmd ): Delete calls to + deprecated_show_value_hack(). + +2005-04-15 Corinna VInschen + + * MAINTAINERS: Change sh64-elf state to non-broken. + * Makefile.in: Fix dependencies for sh64-tdep.o. + * configure.tgt: Add sh64-*-elf case. + * sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case. + * sh64-tdep.c: Rework to replace all deprecated mechanisms with + modern methods. + * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. + * config/sh/sh64.mt: Resurrect. + +2005-04-15 Kei Sakamoto + + * regformats/reg-m32r.dat: New file. + +2005-04-14 Daniel Jacobowitz + + * arm-tdep.c (fp_model_strings): Add terminating NULL. + (arm_abi_strings, arm_abi_global, arm_abi_string): New + variables. + (arm_extract_return_value, arm_store_return_value): Don't use + arm_get_fp_model. + (arm_get_fp_model, arm_set_fp): Delete. + (arm_update_current_architecture): New function. + (set_fp_model_sfunc): Call arm_update_current_architecture. + (show_fp_model): Update output messages. + (arm_set_abi, arm_show_abi): New functions. + (arm_elf_osabi_sniffer): Only handle ELFOSABI_ARM. + (arm_gdbarch_init): Infer the object's ABI separately from its + OSABI. Search for a matching architecture. Honor the global + ABI and FPU settings. Set floating point format based on the + architecture. + (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): + Delete. + (_initialize_arm_tdep): Don't call gdbarch_register_osabi. + Create "arm set abi" command. + * arm-tdep.h (arm_get_fp_model): Delete prototype. + (enum arm_abi_kind): New type. + (struct gdbarch_tdep): Add arm_abi field. + * arm-linux-tdep.c (arm_linux_init_abi): Only override + tdep->fp_model if it is ARM_FLOAT_AUTO. + * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Likewise. + (arm_netbsd_elf_init_abi): Likewise. + * defs.h (enum gdb_osabi): Delete ARM-specific OSABIs. + * osabi.c (gdb_osabi_name): Likewise. + +2005-04-11 Daniel Jacobowitz + + * config/djgpp/fnchange.lst: Remove entries for gdb.gdbserver. + +2005-04-10 Mark Kettenis + + * rs6000-tdep.c (ppc_supply_fpregset): Increment offset by 8 for + floating-point registers. + (ppc_collect_fpregset): Likewise. Fix collection of registers. + +2005-04-09 Mark Kettenis + + * ppcobsd-tdep.c: Update copyright year. Include "trad-frame.h" + and "tramp-frame.h". + (ppcobsd_sigtramp_cache_init): New function. + (ppcobsd_sigtramp): New variable. + (ppcobsd_init_abi): Prepend signal trampoline unwinder. + * Makefile.in (ppcobsd-tdep.o): Update dependencies. + +2005-04-08 Andrew Cagney + + * MAINTAINERS (GDB/MI): Andrew Cagney, Elena Zannoni, and Fernando + Nasser have decided to step back from GDB/MI. + +2005-04-08 Daniel Jacobowitz + + * config/fnchange.lst: Add testsuite/gdb.gdbserver entries. + +2005-04-08 Daniel Jacobowitz + + * dwarf2-frame.c (struct dwarf2_frame_cache): New field + undefined_retaddr. + (dwarf2_frame_cache): Initialize undefined_retaddr. + (dwarf2_frame_this_id): Return an invalid frame ID if + undefined_retaddr. + +2005-04-05 Jim Blandy + + Move construction of IA-32 vector types to i386-tdep.c. + * gdbtypes.c (build_builtin_type_vec64i, + build_builtin_type_vec128i): Delete functions. + (builtin_type_vec64i, builtin_type_vec128i): Delete variables. + (build_gdbtypes): Don't initialize them. + (_initialize_gdbtypes): Don't register GDBARCH swap entries for + them. + * gdbtypes.h (builtin_type_vec64i, builtin_type_vec128i): Delete + declarations. + (builtin_type_v2_float, builtin_type_v2_int32, + builtin_type_v4_int16, builtin_type_v8_int8, + builtin_type_v2_double, builtin_type_v4_float, + builtin_type_v2_int64, builtin_type_v4_int32, + builtin_type_v8_int16, builtin_type_v16_int8): Add extern + declarations. + * i386-tdep.c (i386_mmx_type, i386_sse_type): New variables. + (i386_build_mmx_type, i386_build_sse_type): New functions. + (i386_register_type): Call them, rather than referring to + builtin_type_vec64i and builtin_type_vec128i. + +2005-04-02 Daniel Jacobowitz + + * mips-linux-tdep.c (mips_linux_o32_sigframe_init): Adjust + big-endian correction code to not offset 32-bit registers. + Locate floating point registers correctly. + +2005-04-02 Mark Kettenis + + * main.c: Update copyright year. + (captured_main): Avoid using strcpy and strcat. + +2005-04-01 Michael Snyder + + * dummy-frame.c (dummy_frame_sniffer): Optimization: don't bother + computing this_id if there are no dummy frames on the stack. + + * mn10300-tdep.c (mn10300_frame_unwind_cache): Use + find_partial_func instead of unwind_pc to identify frame. + (mn10300_push_dummy_call): Handle struct args, struct_return. + + * mn10300-prologue.c (set_movm_offsets): Don't test variable + before setting it. + * mn10300-tdep.c (mn10300_skip_prologue): Use analyze_prologue + instead of skip_prologue_using_sal. + +2005-03-31 Kevin Buettner + + * solib-frv.c (struct lm_info): Add new field ``lm_addr''. + (main_lm_addr): New static global. + (frv_current_sos): Retain the link map address for each entry. + (frv_clear_solib): Clear main_lm_addr. + (frv_fetch_objfile_link_map): New function. + * frv-tdep.c (frv_gdbarch_init): Register TLS load module fetcher. + * frv-tdep.h (frv_fetch_objfile_link_map): Declare. + +2005-03-31 Kevin Buettner + + * gdbarch.sh (fetch_tls_load_module_address): New architecture method. + * gdbarch.c, gdbarch.h: Regenerate. + * dwarf2loc.c (dwarf_expr_tls_address): Fetch TLS load module + address and pass this address, instead of the objfile address, to + target_get_thread_local_address(). + * linux-thread-db.c (thread_db_get_thread_local_address): Change + second parameter from type ``struct objfile *'' to CORE_ADDR. Do + not call svr4_fetch_objfile_link_map() to fetch the load module + address. + * target.h (struct target_ops): Change second parameter of + ``to_get_thread_local_address'' from ``struct objfile *'' to + ``CORE_ADDR''. + * alpha-linux-tdep.c (solib-svr4.h): Include. + (alpha_linux_init_abi): Register TLS load module fetcher. + * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise. + * hppa-linux-tdep.c (hppa_linux_init_abi): Likewise. + * i386-linux-tdep.c (i386_linux_init_abi): Likewise. + * ia64-linux-tdep.c (solib-svr4.h): Include. + (ia64_linux_init_abi): Register TLS load module fetcher. + * m32r-linux-tdep.c (m32r_linux_init_abi): Likewise. + * m68klinux-tdep.c (m68k_linux_init_abi): Likewise. + * mips-linux-tdep.c (mips_linux_init_abi): Likewise. + * s390-tdep.c (s390_gdbarch_init): Likewise. + * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise. + * sparc64-linux-tdep.c (solib-svr4.h): Include. + (sparc64_linux_init_abi): Register TLS load module fetcher. + * Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o) + (sparc-linux-tdep.o): Update dependencies. + +2005-03-29 Daniel Jacobowitz + + * c-valprint.c (c_value_print): Fix up some formatting. Use + check_typedef. + +2005-03-29 Daniel Jacobowitz + + * arm-linux-nat.c (store_register, store_regs): Handle + ARM_PS_REGNUM. + +2005-03-29 Daniel Jacobowitz + + * arm-linux-tdep.c (arm_linux_thumb_be_breakpoint) + (arm_linux_thumb_le_breakpoint): New. Update comments. + (arm_linux_init_abi): Set Thumb breakpoints also. + +2005-03-29 Daniel Jacobowitz + + * Makefile.in (arm-tdep.o): Update dependencies. + * arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h". + (arm_gdbarch_init): Register dwarf2_frame_sniffer. + +2005-03-28 Joel Brobecker + + * irix5-nat.c (supply_fpregset): Fix bug that caused the FSR + register value to be incorrectly written in the regcache. + (fill_fpregset): Fix bug that caused the FSR register value + to be incorrectly read from the regcache. + +2005-03-28 Daniel Jacobowitz + + * remote-rdi.c (arm_rdi_insert_breakpoint): Don't call + arm_pc_is_thumb_dummy. + +2005-03-28 Mark Kettenis + + * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Handle + StackGhost. + + * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow): + Handle StackGhost in 64-bit code. + * sparc64-tdep.c (sparc64_frame_prev_register): Handle StackGhost. + +2005-03-27 Christopher Faylor + + * win32-nat.c (handle_exception): Treat win32 routines which check for + valid addresses as "special" and don't stop when a SEGV is detected. + (get_child_debug_event): Properly flag exception as unhandled. + +2005-03-26 Daniel Jacobowitz + + * cp-support.c (cp_class_name_from_physname): Rewrite. + (unqualified_name_from_comp): New function, broken out from + method_name_from_physname. Correct handling for typed names + and templates. + (method_name_from_physname): Use unqualified_name_from_comp. + (cp_func_name, remove_params): Move earlier in the file. Add + better comments. Use the component tree to parse the name. + (_initialize_cp_support): Remove stray whitespace. + +2005-03-26 Mark Kettenis + + * exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ. + + * inflow.h: Update copyright year. Remove #ifdef SHORT_PGRP code. + Callapse HAVE_TERMIO and HAVE_SGTTY. + + * dwarf2-frame.c (execute_cfa_program): Implement + DW_CFA_GNU_window_save. + +2005-03-25 Mark Kettenis + + * config/sparc/nbsd64.mh (NAT_FILE): Remove. + + * config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o. + +2005-03-25 Daniel Jacobowitz + + * arm-tdep.c (target_is_thumb, caller_is_thumb) + (arm_pc_is_thumb_dummy): Remove. + (arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy. + +2005-03-25 Anthony Green + + * remote.c (remote_store_registers): Fix memset usage. + * std-regs.c (value_of_builtin_frame_reg): Ditto. + (value_of_builtin_frame_fp_reg): Ditto. + (value_of_builtin_frame_reg): Ditto. + +2005-03-25 Mark Mitchell + + * ser-base.c (ser_unix_write): Rename to ... + (ser_base_write): ... this. + (ser_unix_nop_flush_output): Rename to ... + (ser_base_flush_output): ... this. + (ser_unix_flush_input): Rename to ... + (ser_base_flush_input): ... this. + (ser_unix_nop_send_break): Rename to ... + (ser_base_send_break): ... this. + (ser_unix_nop_drain_output): Rename to ... + (ser_base_drain_output): ... this. + (ser_unix_nop_raw): Rename to ... + (ser_base_raw): ... this. + (ser_unix_nop_get_tty_state): Rename to ... + (ser_base_set_tty_state): ... this. + (ser_unix_nop_noflush_set_tty_state): Rename to ... + (ser_base_noflush_set_tty_state): ... this. + (ser_unix_nop_print_tty_state): Rename to ... + (ser_base_print_tty_state): ... this. + (ser_unix_nop_setbaudrate): Rename to ... + (ser_base_setbaudrate): ... this. + (ser_unix_nop_setstopbits): Rename to ... + (ser_base_setstopbits): ... this. + (ser_unix_async): Rename to ... + (ser_base_async): ... this. + * ser-base.h (ser_unix_write): Rename to ... + (ser_base_write): ... this. + (ser_unix_nop_flush_output): Rename to ... + (ser_base_flush_output): ... this. + (ser_unix_flush_input): Rename to ... + (ser_base_flush_input): ... this. + (ser_unix_nop_send_break): Rename to ... + (ser_base_send_break): ... this. + (ser_unix_nop_drain_output): Rename to ... + (ser_base_drain_output): ... this. + (ser_unix_nop_raw): Rename to ... + (ser_base_raw): ... this. + (ser_unix_nop_get_tty_state): Rename to ... + (ser_base_set_tty_state): ... this. + (ser_unix_nop_noflush_set_tty_state): Rename to ... + (ser_base_noflush_set_tty_state): ... this. + (ser_unix_nop_print_tty_state): Rename to ... + (ser_base_print_tty_state): ... this. + (ser_unix_nop_setbaudrate): Rename to ... + (ser_base_setbaudrate): ... this. + (ser_unix_nop_setstopbits): Rename to ... + (ser_base_setstopbits): ... this. + (ser_unix_async): Rename to ... + (ser_base_async): ... this. + * ser-pipe.c (_initialize_ser_pipe): Update accordingly. + * ser-tcp.c (_initialize_ser_tcp): Likewise. + * ser-unix.c (hardwire_flush_input): Likewise. + (_initializer_ser_hardwire): Likewise. + + * Makefile.in (SFILES): Add ser-base.c. + (ser_base_h): New variable. + (ser-base.o): New target. + (ser-pipe.o): Depend on $(ser_base_h). + (ser-tcp.o): Likewise. + (ser-unix.o): Likewise. Do not depend on $(event_loop_h). + * configure.ac (SER_HARDWIRE): Include ser-base.o where + appropriate. + * ser-base.c: New file. + (push_event): Move from ser-unix.c. + (fd_event): Likewise. + (reschedule): Likewise. + (ser_unix_write): Likewise. + (ser_unix_nop_flush_output): Likewise. + (ser_unix_flush_input): Likewise. + (ser_unix_nop_send_break): Likewise. + (ser_unix_nop_drain_output): Likewise. + (ser_unix_nop_raw): Likewise. + (ser_unix_nop_get_tty_state): Likewise. + (ser_unix_nop_set_tty_state): Likewise. + (ser_unix_nop_noflush_set_tty_state): Likewise. + (ser_unix_nop_print_tty_state): Likewise. + (ser_unix_nop_setbaudrate): Likewise. + (ser_unix_nop_setstopbits): Likewise. + (ser_unix_async): Likewise. + * ser-base.h: New file. + * ser-pipe.c (ser-base.h): Include it. + * ser-tcp.c (ser-base.h): Likewise. + * ser-unix.h (ser_unix_nop_flush_output): Remove. + (ser_unix_flush_input): Likewise. + (ser_unix_nop_send_break): Likewise. + (ser_unix_nop_raw): Likewise. + (ser_unix_nop_get_tty_state): Likewise. + (ser_unix_nop_set_tty_state): Likewise. + (ser_unix_nop_print_tty_state): Likewise. + (ser_unix_nop_noflush_set_tty_state): Likewise. + (ser_unix_nop_setbaudrate): Likewise. + (ser_unix_nop_setstopbits): Likewise. + (ser_unix_nop_drain_output): Likewise. + (ser_unix_wait_for): Likewise. + (ser_unix_write): Likewise. + (ser_unix_async): Likewise. + * ser-unix.c (event-loop.h): Do not include it. + (push_event): Move to ser-base.c. + (fd_event): Likewise. + (reschedule): Likewise. + (ser_unix_write): Likewise. + (ser_unix_nop_flush_output): Likewise. + (ser_unix_flush_input): Likewise. + (ser_unix_nop_send_break): Likewise. + (ser_unix_nop_drain_output): Likewise. + (ser_unix_nop_raw): Likewise. + (ser_unix_nop_get_tty_state): Likewise. + (ser_unix_nop_set_tty_state): Likewise. + (ser_unix_nop_noflush_set_tty_state): Likewise. + (ser_unix_nop_print_tty_state): Likewise. + (ser_unix_nop_setbaudrate): Likewise. + (ser_unix_nop_setstopbits): Likewise. + (ser_unix_async): Likewise. + (ser_unix_wait_for): Make it static. + * configure: Regenerated. + +2005-03-25 Mark Kettenis + + * dwarf2-frame.h: Update copyrigh year. + (enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET. + * dwarf2-frame.c: Update copyright year. + (struct dwarf2_frame_cache): Add member `retaddr_reg'. + (dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET. + (dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET. + +2005-03-23 Martin Hunt + + * configure.ac: Remove -fwritable-strings from CFLAGS. + * configure: Regenerate. + +2005-03-21 Michael Snyder + + * mn10300-prologue.c (fix_frame_pointer): Delete. + (set_movm_offsets) Don't return just because movm_args is + zero -- still need to save pc and sp in saved_regs. + (mn10300_analyze_prologue): Don't return prematurely without + calling set_movm_offsets (for pc and sp at minimum). + 2005-03-21 Mark Mitchell * configure.ac (stat.st_blksize): Check for it.