Fix some dangling references to `netbsd-tdep`
authorJohn Ericson <git@JohnEricson.me>
Tue, 6 Jul 2021 13:40:44 +0000 (09:40 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 13 Jul 2021 04:49:57 +0000 (00:49 -0400)
These files were renamed in 1b71cfcfdc3e13a655fefa6566b5564cec044c10,
but evidentially a few dangling references were left behind. This causes
builds to fail:

    $ ./configure --target i686-netbsdelf
    $ make
    make: *** No rule to make target 'nbsd-tdep.c', needed by 'nbsd-tdep.o'.  Stop.

gdb/configure.tgt
gdb/netbsd-tdep.c
gdb/sparc-tdep.h

index a928c0227a044311abe06ac2849bd9c7d8dcaec1..643973917fe0dd7149250147edb9bba1d2ea8679 100644 (file)
@@ -105,7 +105,7 @@ case "${targ}" in
 *-*-freebsd* | *-*-kfreebsd*-gnu)
        os_obs="fbsd-tdep.o solib-svr4.o";;
 *-*-netbsd* | *-*-knetbsd*-gnu)
-       os_obs="nbsd-tdep.o solib-svr4.o";;
+       os_obs="netbsd-tdep.o solib-svr4.o";;
 *-*-openbsd*)
        os_obs="obsd-tdep.o solib-svr4.o";;
 esac
@@ -146,7 +146,7 @@ alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
 alpha*-*-openbsd*)
        # Target: OpenBSD/alpha
        gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
-                       alpha-netbsd-tdep.o alpha-obsd-tdep.o nbsd-tdep.o"
+                       alpha-netbsd-tdep.o alpha-obsd-tdep.o netbsd-tdep.o"
        ;;
 
 am33_2.0*-*-linux*)
@@ -632,14 +632,14 @@ sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
 sparc-*-openbsd*)
        # Target: OpenBSD/sparc
        gdb_target_obs="sparc-tdep.o sparc-netbsd-tdep.o sparc-obsd-tdep.o \
-                       nbsd-tdep.o bsd-uthread.o \
+                       netbsd-tdep.o bsd-uthread.o \
                        ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
 sparc64-*-openbsd*)
        # Target: OpenBSD/sparc64
        gdb_target_obs="sparc64-tdep.o sparc64-netbsd-tdep.o sparc64-obsd-tdep.o \
                        sparc-tdep.o sparc-netbsd-tdep.o sparc-obsd-tdep.o \
-                       nbsd-tdep.o bsd-uthread.o \
+                       netbsd-tdep.o bsd-uthread.o \
                        ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
index 3b879b6856de78a2bf8fd9bfe44f3dc8f2256fc8..965ecfb0f18fbb891f71c567153a515a6cc41ed2 100644 (file)
@@ -520,7 +520,7 @@ nbsd_get_siginfo_type (struct gdbarch *gdbarch)
   return siginfo_type;
 }
 
-/* See nbsd-tdep.h.  */
+/* See netbsd-tdep.h.  */
 
 void
 nbsd_info_proc_mappings_header (int addr_bit)
@@ -607,7 +607,7 @@ nbsd_get_syscall_number (struct gdbarch *gdbarch, thread_info *thread)
   internal_error (__FILE__, __LINE__, _("nbsd_get_sycall_number called"));
 }
 
-/* See nbsd-tdep.h.  */
+/* See netbsd-tdep.h.  */
 
 void
 nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
index 95f6a44a40180a62b190642c2c994d9f62bdfa41..c0cfd09a6de4fc9f700379e3f6b32c2ebac8ca3b 100644 (file)
@@ -245,7 +245,7 @@ extern int sparc_is_annulled_branch_insn (CORE_ADDR pc);
 extern const struct sparc_gregmap sparc32_sol2_gregmap;
 extern const struct sparc_fpregmap sparc32_sol2_fpregmap;
 
-/* Functions and variables exported from sparcnbsd-tdep.c.  */
+/* Functions and variables exported from sparc-netbsd-tdep.c.  */
 
 /* Register offsets for NetBSD.  */
 extern const struct sparc_gregmap sparc32nbsd_gregmap;