diff options
author | Mark Kettenis <kettenis@gnu.org> | 2006-07-15 21:22:51 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2006-07-15 21:22:51 +0000 |
commit | a4ab4a25cdacd569d6d8f25de7429426bb218b25 (patch) | |
tree | 7bd1bcc39b501071aaec3cde6ec7c2fb1c993802 /gdb/armnbsd-tdep.c | |
parent | 10505f38ce7069ddf9b1277eb72b003021e54544 (diff) | |
download | gdb-a4ab4a25cdacd569d6d8f25de7429426bb218b25.zip gdb-a4ab4a25cdacd569d6d8f25de7429426bb218b25.tar.gz gdb-a4ab4a25cdacd569d6d8f25de7429426bb218b25.tar.bz2 |
* armnbsd-tdep.c: Don't include "nbsd-tdep.h".
* config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
(DEPRECATED_TM_FILE): Remove.
* Makefile.in (armnbsd-tdep.o): Update dependencies.
Diffstat (limited to 'gdb/armnbsd-tdep.c')
-rw-r--r-- | gdb/armnbsd-tdep.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gdb/armnbsd-tdep.c b/gdb/armnbsd-tdep.c index 2b878f2..34fa906 100644 --- a/gdb/armnbsd-tdep.c +++ b/gdb/armnbsd-tdep.c @@ -1,6 +1,6 @@ -/* Target-specific functions for ARM running under NetBSD. +/* Target-specific functions for NetBSD/arm. - Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc. This file is part of GDB. @@ -25,7 +25,6 @@ #include "gdb_string.h" #include "arm-tdep.h" -#include "nbsd-tdep.h" #include "solib-svr4.h" /* Description of the longjmp buffer. */ @@ -89,12 +88,12 @@ arm_netbsd_elf_init_abi (struct gdbarch_info info, struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); arm_netbsd_init_abi_common (info, gdbarch); - - set_solib_svr4_fetch_link_map_offsets (gdbarch, - nbsd_ilp32_solib_svr4_fetch_link_map_offsets); - if (tdep->fp_model == ARM_FLOAT_AUTO) tdep->fp_model = ARM_FLOAT_SOFT_VFP; + + /* NetBSD ELF uses SVR4-style shared libraries. */ + set_solib_svr4_fetch_link_map_offsets + (gdbarch, svr4_lp64_fetch_link_map_offsets); } static enum gdb_osabi |