* armnbsd-tdep.c: Don't include "nbsd-tdep.h".
authorMark Kettenis <kettenis@gnu.org>
Sat, 15 Jul 2006 21:22:51 +0000 (21:22 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 15 Jul 2006 21:22:51 +0000 (21:22 +0000)
* config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
(DEPRECATED_TM_FILE): Remove.
* Makefile.in (armnbsd-tdep.o): Update dependencies.

gdb/ChangeLog
gdb/Makefile.in
gdb/armnbsd-tdep.c
gdb/config/arm/nbsd.mt

index 4ea81997c669ae57f56194e3e3ac274b7d7e5ad8..287010027ed8ffc54aee45e19c6a0a587cba5a00 100644 (file)
@@ -1,3 +1,10 @@
+2006-07-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * 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.
+       
 2006-07-14  Joel Brobecker  <brobecker@adacore.com>
 
        * PROBLEMS: Document threads/2137.
index f19935b139a10d76ce5fad9d7d37a60d179952c8..5aab98fcb40427bd8f9ed4589ecee263d987bc15 100644 (file)
@@ -1782,7 +1782,7 @@ arm-linux-tdep.o: arm-linux-tdep.c $(defs_h) $(target_h) $(value_h) \
 armnbsd-nat.o: armnbsd-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \
        $(regcache_h) $(target_h) $(gdb_string_h) $(arm_tdep_h) $(inf_ptrace_h)
 armnbsd-tdep.o: armnbsd-tdep.c $(defs_h) $(osabi_h) $(gdb_string_h) \
-       $(arm_tdep_h) $(nbsd_tdep_h) $(solib_svr4_h)
+       $(arm_tdep_h) $(solib_svr4_h)
 arm-tdep.o: arm-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(gdbcmd_h) \
        $(gdbcore_h) $(gdb_string_h) $(dis_asm_h) $(regcache_h) \
        $(doublest_h) $(value_h) $(arch_utils_h) $(osabi_h) \
index 2b878f296bb16f0c7209bd21423250752b3c4a14..34fa90666ae224c548d3e29637607976689dc447 100644 (file)
@@ -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
index e9dd0d01496b4d280772f87db4273ba384b73b08..75c07069d58a91d3bee053390a6986fb0aa7332f 100644 (file)
@@ -1,3 +1,2 @@
-# Target: ARM running NetBSD
-TDEPFILES= arm-tdep.o armnbsd-tdep.o solib.o solib-svr4.o nbsd-tdep.o
-DEPRECATED_TM_FILE=solib.h
+# Target: NetBSD/arm
+TDEPFILES= arm-tdep.o armnbsd-tdep.o solib.o solib-svr4.o
This page took 0.030355 seconds and 4 git commands to generate.