* i386bsd-tdep.c (i386bsd_init_abi): Set sigtramp_start and
[binutils-gdb.git] / gdb / ChangeLog
index 7b8a0e453182694df802f9e6dbd1b3c03a301cd3..9ea4f1fdd778bdf5806d7acd4d758199d09af7d0 100644 (file)
@@ -1,3 +1,129 @@
+2002-09-06  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386bsd-tdep.c (i386bsd_init_abi): Set sigtramp_start and
+       sigtramp_end to i386bsd_sigtramp_start and i386bsd_sigtramp_end.
+       * i386nbsd-tdep.c (i386nbsd_init_abi): Set sigtramp_start and
+       sigtramp_end to NULL.
+       * config/i386/tm-fbsd.h (SIGTRAMP_START, SIGTRAMP_END): Remove
+       defines.
+       (i386bsd_sigtramp_start, i386_sigtramp_end): Remove prototypes.
+
+       * i386nbsd-tdep.c (i386nbsd_pc_in_sigtramp): Remove spurious
+       whitespace.
+
+       * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): New methods.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * blockframe.c (find_pc_sect_partial_function): Convert to use
+       SIGTRAMP_START_P predicate.
+
+2002-09-05  Michael Snyder  <msnyder@redhat.com>
+
+       * arm-tdep.c (arm_init_extra_frame_info): Distinguish between
+       generic_dummy_frame method and old method.  Also distinguish
+       between ARM_FP_REGNUM and THUMB_FP_REGNUM.
+       (arm_extract_return_value): Use new regcache method.
+
+       * mips-tdep.c (mips_n32n64_push_arguments): Remove alignment
+       adjustment that doesn't conform to the ABI.
+       (mips_extract_struct_value_address): Retrieve V0_REGNUM from
+       saved regcache, not from current regcache.
+
+2002-09-05  Andrew Cagney  <ac131313@redhat.com>
+
+       * NEWS: Update for 5.3.  Add new section ``Changes since 5.3''.
+       * README: Update.
+
+2002-09-04  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * arm-tdep.c (arm_addr_bits_remove): Don't check for Thumb mode
+       if arm_apcs_32 is false.
+
+2002-09-04  Andrew Cagney  <ac131313@redhat.com>
+
+       GDB 5.3 branch created.
+
+2002-09-03  Theodore A. Roth  <troth@verinet.com>
+
+       * gdb/avr-tdep.c (avr_gdbarch_init): Use
+       generic_unwind_get_saved_register.
+
+2002-09-03  David Carlton  <carlton@math.stanford.edu>
+
+       * dwarf2read.c (dwarf2_add_member_fn): Add the 'type'
+       argument (PR gdb/653).  Update call to smash_to_method_type.
+       (read_structure_scope): Update call to dwarf2_add_member_fn.
+
+2002-09-03  Michal Ludvig  <mludvig@suse.cz>
+
+       * x86-64-linux-tdep.c: Include gdb_string.h
+       * x86-64-linux-nat.c: Ditto.
+
+2002-09-02  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * ada-exp.y (yyname, yyrule): Remap global variables that appear
+       when YYDEBUG is set to 1.  
+       * c-exp.y: Likewise.
+       * f-exp.y: Likewise.
+       * jv-exp.y: Likewise.
+       * m2-exp.y: Likewise.
+       * p-exp.y: Likewise.
+
+2002-09-02  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * Makefile.in (i386nbsd-tdep.o): Add $(solib_svr4_h) to
+       dependency list.
+       * i386nbsd-tdep.c (i386nbsdelf_init_abi): Set
+       solib_svr4_fetch_link_map_offsets to
+       nbsd_ilp32_solib_svr4_fetch_link_map_offsets.
+       * config/i386/nbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
+       * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
+       * config/i386/nbsdelf.mh (NATDEPFILES): Remove solib.o,
+       solib-svr4.o, and solib-legacy.o.
+       * config/i386/tm-nbsd.h: Include solib.h.
+
+2002-09-02  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * configure.tgt (i[3456]86-*-netbsdelf*): Merge with... 
+       (i[3456]86-*-netbsd*): ...this.  Set gdb_target to nbsd. 
+       (i[3456]86-*-openbsd*): Make this a separate entry.  Add a
+       comment noting that this needs its own target configuration.
+       * config/i386/nbsd.mt: New file.
+       * config/i386/nbsdaout.mt: Remove.
+       * config/i386/nbsdelf.mt: Ditto.
+       * config/i386/tm-nbsdaout.h: Ditto. 
+
+2002-09-02  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): New function. 
+       (i386nbsd_pc_in_sigtramp): Rewrite to use i386nbsd_sigtramp_offset. 
+       (i386nbsd_init_abi): Don't initialize tdep->sigtramp_start or
+       tdep->sigtramp_end.
+       (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): Remove. 
+       * config/i386/tm-nbsd.h (SIGTRAMP_START, SIGTRAMP_END)
+       (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove.
+
+2002-09-02  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * Makefile.in (i386nbsd-tdep.o): Add $(arch_utils_h),
+       $(i386_tdep_h), and $(nbsd_tdep_h) to dependency list.
+       * i386-tdep.h (i386bsd_init_abi): New prototype.
+       * i386bsd-tdep.c (i386bsd_init_abi): Remove "static" from
+       function declaration.
+       (_initialize_i386bsd_tdep): Don't register OS ABI handlers
+       for NetBSD-a.out or NetBSD-ELF.
+       (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end)
+       (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset)
+       (i386nbsd_init_abi, i386nbsdelf_init_abi): Move to...
+       * i386nbsd-tdep.c: ...here.  Include arch-utils.h, i386-tdep.h,
+       and nbsd-tdep.h.
+       (i386nbsd_pc_in_sigtramp): New function.
+       (i386nbsd_init_abi): Set gdbarch_pc_in_sigtramp to
+       i386nbsd_pc_in_sigtramp.
+       (_initialize_i386nbsd_tdep): Register i386nbsd_init_abi
+       and i386nbsdelf_init_abi OS ABI handlers.
+       * config/i386/nbsdaout.mt (TDEPFILES): Add nbsd-tdep.o.
+       * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
+
 2002-09-02  Mark Kettenis  <kettenis@gnu.org>
 
        * i386-linux-nat.c (dummy_sse_values): Only try to fill in the SSE
        * breakpoint.c: Include cli/cli-script.h.
        * Makefile.in (breakpoint.o): Update dependencies.
 
+2002-08-26  Michael Snyder  <msnyder@redhat.com>
+
+       * breakpoint.c (insert_breakpoints): Protect all references
+       to 'process_warning'.  Shorten long lines.
+
 2002-08-26  Joel Brobecker  <brobecker@gnat.com>
 
        * cli/cli-script.c (copy_command_lines): New function.
 
 2002-08-26  Mark Kettenis  <kettenis@gnu.org>
 
-       * defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".
-       Fix some whitespace problems.
-
        * i386-tdep.c (i386_store_return_value): Undeprecate.  Convert to
        use regcache_* functions.
        (i386_gdbarch_init): Set store_return_value instead of