* arm-tdep.c (arm_minimal_frame_chain): Renamed from
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ee1ed417b434a8a68cf14bd96f59d2a79e8d0b99..5deee39ea18eb83df6e4ce6d0a82f1ffc30e117d 100644 (file)
@@ -1,3 +1,309 @@
+2003-09-03  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-tdep.c (arm_minimal_frame_chain): Renamed from
+       arm_frame_chain.  Take NEXT_FRAME and CACHE arguments.
+       Use the cache instead of DEPRECATED_FRAME_SAVED_PC.
+       (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info.
+       Take NEXT_FRAME and CACHE arguments.  Call
+       FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument.
+       Set unwound_pc in CACHE instead of modifying the frame argument.
+       Don't bother checking the frame type when looking for sigtramp
+       frames.
+       (arm_make_prologue_cache, arm_frame_chain)
+       (arm_init_extra_frame_info): New functions.
+
+2003-09-03  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-tdep.c (arm_get_cache): Define.
+       (struct arm_prologue_cache): Renamed from frame_extra_info.  Add
+       unwound_sp, unwound_pc, and saved_regs.
+       (thumb_scan_prologue): Take a cache instead of the frame.
+       (arm_scan_prologue): Likewise.
+       (arm_frame_chain): Create a temporary cache for arm_scan_prologue
+       instead of a temporary frame.
+       (arm_init_extra_frame_info): Allocate and use a cache.
+       (arm_frame_saved_pc, arm_pop_frame): Use the cache.
+
+2003-09-03  Andrew Cagney  <cagney@redhat.com>
+
+       * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS.
+       * config/mips/wince.mt (TM_CLIBS): Ditto.
+       * config/sh/wince.mt (TM_CLIBS): Ditto.
+       * config/pa/hppa64.mt (TM_CLIBS): Delete.
+       * config/sparc/sp64.mt (CC): Delete.
+
+2003-09-03  Andrew Cagney  <cagney@redhat.com>
+
+       * defs.h: Do not include "arch-utils.h".
+       (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or
+       GDB_MULTI_ARCH_PURE.
+       * configure.in (GDB_MULTI_ARCH): Do not define.
+       * configure, config.in: Regenerate.
+       * configure.tgt: Do not set variable "gdb_multi_arch".
+       * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete.
+       * config/s390/s390.mt (GDB_MULTI_ARCH): Delete.
+       * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete.
+       * config/v850/v850.mt (TM_FILE): Delete disabled definition.
+       * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition.
+       * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition.
+       * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition.
+       * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition.
+       * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition.
+       * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition.
+       * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition.
+       * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition.
+       * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition.
+       * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition.
+       * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition.
+       * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition.
+       * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition.
+       * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition.
+       
+2003-08-30  Michael Chastain  <mec@shout.net>
+
+       * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h.
+       * config/m68k/nm-hp300hpux.h: Delete.
+       * config/m68k/tm-hp300hpux.h: Delete.
+       * config/m68k/xm-hp300hpux.h: Delete.
+       * config/m68k/xm-hp300bsd.h: Delete.
+       * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h,
+       tm-hp300hpux.h, xm-hp300hpux.h.
+       * somsolib.c: Remove comment about hp300 shared libraries.
+
+2003-08-31  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-linux-nat.c (ps_get_thread_area): Don't define as extern.
+       Only define PTRACE_GET_THREAD_AREA is not already defined.
+       Various style fixes in code and comments and some additional
+       spelling fixes in comments.  Move after functions dealing with
+       debug registers.
+       * x86-64-linux-nat.c (ps_get_thread_area): Don't define as extern.
+       Fix coding-style.
+
+       * alphafbsd-tdep.c (alphafbsd_sigcontext_addr): Use
+       frame_unwind_register_unsigned instead of
+       frame_unwind_unsigned_register.
+
+2003-08-30  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.in: Search for gethostbyname in libnsl.
+       * configure: Regenerated.
+
+2003-08-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.in: Remove redundant AC_MSG_RESULT in check for
+       uintptr_t in stdint.h.
+       * configure: Regenerated.
+
+       * amd64-nat.h (struct regcache): Add opaque declaration.
+
+       * i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.
+       * x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h".
+       Change "register array" to "register cache" in comments.
+       (x86_64_linux_gregset64_reg_offset): New variable.
+       (GETREGS_SUPPLIES): Remove macro.
+       (supply_gregset): Call amd64_supply_native_gregset instead of
+       x86_64_linux_supply_gregset.
+       (fill_gregset): Rename `regno' to `regnum'.  Call
+       amd64_collect_native_gregset instead of x86_64_linux_fill_gregset.
+       (store_regs): Rename `regno' to `regnum'.
+       (store_fpregs): Rename `regno' to `regnum'.
+       (fetch_inferior_registers): Rename `regno' to `regnum'.  Use
+       amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
+       Reorganize function a bit.
+       (store_inferior_registers): Rename `regno' to `regnum'.  Use
+       amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES.
+       Reorganize function a bit.
+       (_initialize_x86_64_linux_nat): New function.
+       * config/i386/x86-64linux.mh.
+
+2003-08-29  Andrew Cagney  <cagney@redhat.com>
+
+       * config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro.
+       (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro.
+       (target_remove_watchpoint): Delete macro.
+       (target_insert_watchpoint): Delete macro.
+       (remote_mips_can_use_hardware_watchpoint): Delete declaration.
+       (remote_mips_stopped_by_watchpoint): Delete declaration.
+       (remote_mips_remove_watchpoint): Delete declaration.
+       (remote_mips_set_watchpoint): Delete declaration.
+       (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro.
+       * remote-mips.c (_initialize_remote_mips): Set
+       "to_insert_watchpoint", "to_stopped_by_watchpoint",
+       "to_can_use_hardware_watchpoint", and "to_remove_watchpoint".
+       (mips_insert_watchpoint): Rename remote_mips_set_watchpoint.
+       (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint.
+       (mips_stopped_by_watchpoint): Rename
+       remote_mips_stopped_by_watchpoint.
+       (mips_can_hardware_watchpoint): Rename
+       remote_mips_can_use_hardware_watchpoint, update function
+       signature.
+
+2003-08-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * x86-64-linux-tdep.c (user_to_gdb_regmap): Remove USER_CS and
+       USER_DS.  We haven't given them a register number yet.
+
+       * amd64-nat.h: New file.
+       * amd64-nat.c: New file.
+       * amd64fbsd-nat.c: Include "amd64-nat.h".
+       (REG_ADDR, GETREGS_SUPPLIES): Remove macros.
+       (amd64fbsd32_r_reg_offset): New variable.
+       (supply_gregset): Simply call amd64_supply_native_gregset.
+       (fill_gregset): Rename `regno' to `regnum'.  Simply call
+       amd64_collect_native_gregset.
+       (fill_fpregset): Rename `regno' to `regnum'.
+       (fetch_inferior_registers): Rename `regno' to `regnum'.  Replace
+       usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
+       Use `struct reg' and `struct fpreg' instead of `gregset_t' and
+       `fpregset_t'.  Call amd64_supply_native_gregset instead of
+       supply_gregset.  Call x86_64_supply_fxsave instead of
+       supply_fpregset.
+       (store_inferior_registers): Rename `regno' to `regnum'.  Replace
+       usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p.
+       Use `struct reg' and `struct fpreg' instead of `gregset_t' and
+       `fpregset_t'.  Call amd64_collect_native_gregset instead of
+       fill_gregset.  Call x86_64_collect_fxsave instead of
+       fill_fpregset.
+       (_initialize_am64fbsd_nat): Initialize
+       amd64_native_gregset32_reg_offset and
+       amd64_native_gregset64_reg_offset.
+       * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o.
+
+       * regcache.c (regcache_raw_supply): Don't assert that BUF isn't a
+       null pointer.  Fix typo in comment.
+
+       * regcache.c (supply_register): Reimplement to call
+       regcache_raw_supply.
+       (regcache_collect): Reimplement by calling regcache_raw_collect.
+
+2003-08-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * regcache.c (register_buffer): Consitify first argument.
+       (regcache_raw_supply, regcache_raw_collect): New
+       functions.
+
+2003-08-28  Daniel Jacobowitz  <drow@mvista.com>
+
+       * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET.  Suggested
+       by Nathan J. Williams.
+
+2003-08-28  Daniel Jacobowitz  <drow@mvista.com>
+
+       * lin-lwp.c (wait_lwp): New function, copied from
+       stop_wait_callback.  Clean up.
+       (stop_wait_callback): Use wait_lwp.
+
+2003-08-28  Andrew Cagney  <cagney@redhat.com>
+
+       * mips-tdep.c (gdb_print_insn_mips): Set the disassembler's
+       flavour and disassembler options.
+       (_initialize_mips_tdep): Do not set deprecated_tm_print_insn.
+       (mips_gdbarch_init): Set "print_insn".  Delete initialization of
+       deprecated_tm_print_insn_info.
+       
+2003-08-27  Andrew Cagney  <cagney@redhat.com>
+
+       * s390-tdep.c (s390_readinstruction): Delete "info" parameter.
+       Use target_read_memory.
+       (s390_get_frame_info): Update.  Do not reference
+       deprecated_tm_print_insn_info.
+       (s390_check_function_end, s390_is_sigreturn): Ditto.
+
+2003-08-27  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in (cris-tdep.o): Update dependencies.
+       * cris-tdep.c: Include "gdb_assert.h".
+       (cris_gdbarch_init): Set print_insn.
+       (_initialize_cris_tdep): Do not set deprecated_tm_print_insn.
+       (cris_delayed_get_disassembler): Simplify, directly call the
+       disassembler returned by cris_get_disassembler.
+       * hppa-tdep.c (hppa_gdbarch_init): Set print_insn.
+       (_initialize_hppa_tdep): Do not set deprecated_tm_print_insn.
+       * ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn.
+       (_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn.
+       * mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn.
+       (_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn.
+       * mcore-tdep.c (mcore_gdbarch_init): Set print_insn.
+       (_initialize_mcore_tdep): Do not set deprecated_tm_print_insn.
+       * frv-tdep.c (frv_gdbarch_init): Set print_insn.
+       (_initialize_frv_tdep): Do not set deprecated_tm_print_insn.
+       * sparc-tdep.c (sparc_gdbarch_init): Set print_insn.
+       (gdb_print_insn_sparc): Delete function.
+       (_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or
+       deprecated_tm_print_insn_info.
+       * v850-tdep.c (v850_gdbarch_init): Set print_insn.
+       (_initialize_v850_tdep): Do not set deprecated_tm_print_insn.
+       (v850_gdbarch_init): Do not set deprecated_tm_print_insn_info.
+       * xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn.
+       (_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn.
+       * s390-tdep.c (gdb_print_insn_s390): Delete function.
+       (_initialize_s390_tdep): Do not set deprecated_tm_print_insn.
+       (s390_gdbarch_init): Set print_insn.
+
+2003-08-27  Andrew Cagney  <cagney@redhat.com>
+
+       * ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function.
+       (ppc_linux_init_abi): For PPC64, do not set call_dummy_address.
+       * infcall.c (call_function_by_hand): Convert the entry point
+       address into a code address.
+
+2003-08-27  Andrew Cagney  <cagney@redhat.com>
+
+       * dsrec.c: Include "gdb_string.h".
+       * Makefile.in (dsrec.o): Update dependencies.
+
+2003-08-27  Michael Chastain  <mec@shout.net>
+
+       * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*.
+
+2003-08-27  Andrew Cagney  <cagney@redhat.com>
+
+       * alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function.
+       (alpha_osf1_init_abi): Do not set call_dummy_address.
+
+2003-08-27  David Carlton  <carlton@kealia.com>
+
+       From Randolph Chung  <tausq@debian.org>:
+       * linux-proc.c (linux_info_proc_cmd): rework the code so that it
+       compiles with -Wformat-nonliteral -Werror.
+
+2003-08-26  Jim Blandy  <jimb@redhat.com>
+
+       * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument.
+       (enable_break): Pass SEC_CODE as the SECT_FLAGS argument to
+       bfd_lookup_symbol, since we only want symbols in code sections.
+       (look_for_base): Pass zero as the SECT_FLAGS argument to
+       bfd_lookup_symbol, since we're not concerned about which section
+       the symbol is in.
+
+2003-08-26  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * ia64-tdep.c (examine_prologue): Only stop at predicated insns if
+       we are frameless or the return address register is already known. 
+
+2003-08-26  Andrew Cagney  <cagney@redhat.com>
+
+       * i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s
+       in size.  Add comments.
+
+2003-08-26  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * ia64-tdep.c (ia64_convert_from_func_addr): New function.
+       (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr(). 
+
+2003-08-26  Jason Merrill  <jason@redhat.com>
+
+       * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name
+       case out of #ifdef MIPS block.
+
+2003-08-25  Daniel Jacobowitz  <drow@mvista.com>
+
+       PR java/1322
+       * dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are
+       available before calling SECT_OFF_TEXT.
+       * PROBLEMS: Remove description of java/1322.
+
 2003-08-25  Jeff Johnston  <jjohnstn@redhat.com>
 
        * ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63, 
This page took 0.028297 seconds and 4 git commands to generate.