]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Normalize names of the NetBSD files
authorKamil Rytarowski <n54@gmx.com>
Tue, 6 Oct 2020 19:36:22 +0000 (21:36 +0200)
committerKamil Rytarowski <kamil@moritz.systems>
Tue, 13 Oct 2020 11:33:35 +0000 (13:33 +0200)
The files used to be named 'nbsd', which incorrectly reflects
the name of the OS and confuses it with other BSD derived OSes.

gdb/ChangeLog:

        * Makefile.in (ALL_64_TARGET_OBS, ALL_TARGET_OBS)
        HFILES_NO_SRCDIR, ALLDEPFILES): Rename files.
        * alpha-bsd-nat.c: Adjust include.
        * alpha-bsd-tdep.h: Adjust comment.
        * alpha-nbsd-tdep.c: Rename to ...
        * alpha-netbsd-tdep.c: ... this, adjust include.
        * amd64-nbsd-nat.c: Rename to ...
        * amd64-netbsd-nat.c: ... this, adjust include.
        * amd64-nbsd-tdep.c: Rename to ...
        * amd64-netbsd-tdep.c: ... this, adjust include.
        * amd64-tdep.h: Adjust include.
        * arm-nbsd-nat.c: Rename to ...
        * arm-netbsd-nat.c: ... this, adjust include.
        * arm-nbsd-tdep.c: Rename to ...
        * arm-netbsd-tdep.c: ... this, adjust include.
        * arm-nbsd-tdep.h: Rename to ...
        * arm-netbsd-tdep.h: ... this, adjust include.
        * configure.nat: Adjust file lists.
        * configure.tgt: Likewise.
        * hppa-nbsd-nat.c: Rename to ...
        * hppa-netbsd-nat.c: ... this, adjust include.
        * hppa-nbsd-tdep.c: Rename to ...
        * hppa-netbsd-tdep.c: ... this, adjust include.
        * i386-nbsd-nat.c: Rename to ...
        * i386-netbsd-nat.c: ... this, adjust include.
        * i386-nbsd-tdep.c: Rename to ...
        * i386-netbsd-tdep.c: ... this, adjust include.
        * m68k-bsd-nat.c: Adjust include.
        * mips-nbsd-nat.c: Rename to ...
        * mips-netbsd-nat.c: ... this, adjust include.
        * mips-nbsd-tdep.c: Rename to ...
        * mips-netbsd-tdep.c: ... this, adjust include.
        * mips-nbsd-tdep.h: Rename to ...
        * mips-netbsd-tdep.h: ... this.
        * nbsd-nat.c: Rename to ...
        * netbsd-nat.c: ... this, adjust include.
        * nbsd-nat.h: Rename to ...
        * netbsd-nat.h: ... this, adjust include.
        * nbsd-tdep.c: Rename to ...
        * netbsd-tdep.c: ... this, adjust include.
        * nbsd-tdep.h: Rename to ...
        * netbsd-tdep.h: ... this.
        * ppc-nbsd-nat.c: Rename to ...
        * ppc-netbsd-nat.c: ... this, adjust include.
        * ppc-nbsd-tdep.c: Rename to ...
        * ppc-netbsd-tdep.c: ... this, adjust include and comment.
        * ppc-nbsd-tdep.h: Rename to ...
        * ppc-netbsd-tdep.h: ... this.
        * sh-nbsd-nat.c: Rename to ...
        * sh-netbsd-nat.c: ... this, adjust include.
        * sh-nbsd-tdep.c: Rename to ...
        * sh-netbsd-tdep.c: ... this, adjust include.
        * sparc-nbsd-nat.c: Rename to ...
        * sparc-netbsd-nat.c: ... this.
        * sparc-nbsd-tdep.c: Rename to ...
        * sparc-netbsd-tdep.c: ... this, adjust include.
        * sparc64-nbsd-nat.c: Rename to ...
        * sparc64-netbsd-nat.c: ... this.
        * sparc64-nbsd-tdep.c: Rename to ...
        * sparc64-netbsd-tdep.c: ... this, adjust include.
        * sparc64-tdep.h: Adjust comment.
        * vax-bsd-nat.c: Adjust include.
        * vax-nbsd-tdep.c: Rename to ...
        * vax-netbsd-tdep.c: ... this, adjust include.

37 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/alpha-bsd-nat.c
gdb/alpha-bsd-tdep.h
gdb/alpha-netbsd-tdep.c [moved from gdb/alpha-nbsd-tdep.c with 99% similarity]
gdb/amd64-netbsd-nat.c [moved from gdb/amd64-nbsd-nat.c with 98% similarity]
gdb/amd64-netbsd-tdep.c [moved from gdb/amd64-nbsd-tdep.c with 99% similarity]
gdb/amd64-tdep.h
gdb/arm-netbsd-nat.c [moved from gdb/arm-nbsd-nat.c with 99% similarity]
gdb/arm-netbsd-tdep.c [moved from gdb/arm-nbsd-tdep.c with 99% similarity]
gdb/arm-netbsd-tdep.h [moved from gdb/arm-nbsd-tdep.h with 100% similarity]
gdb/configure.nat
gdb/configure.tgt
gdb/hppa-netbsd-nat.c [moved from gdb/hppa-nbsd-nat.c with 99% similarity]
gdb/hppa-netbsd-tdep.c [moved from gdb/hppa-nbsd-tdep.c with 99% similarity]
gdb/i386-netbsd-nat.c [moved from gdb/i386-nbsd-nat.c with 99% similarity]
gdb/i386-netbsd-tdep.c [moved from gdb/i386-nbsd-tdep.c with 99% similarity]
gdb/m68k-bsd-nat.c
gdb/mips-netbsd-nat.c [moved from gdb/mips-nbsd-nat.c with 99% similarity]
gdb/mips-netbsd-tdep.c [moved from gdb/mips-nbsd-tdep.c with 99% similarity]
gdb/mips-netbsd-tdep.h [moved from gdb/mips-nbsd-tdep.h with 100% similarity]
gdb/netbsd-nat.c [moved from gdb/nbsd-nat.c with 99% similarity]
gdb/netbsd-nat.h [moved from gdb/nbsd-nat.h with 98% similarity]
gdb/netbsd-tdep.c [moved from gdb/nbsd-tdep.c with 99% similarity]
gdb/netbsd-tdep.h [moved from gdb/nbsd-tdep.h with 100% similarity]
gdb/ppc-netbsd-nat.c [moved from gdb/ppc-nbsd-nat.c with 99% similarity]
gdb/ppc-netbsd-tdep.c [moved from gdb/ppc-nbsd-tdep.c with 98% similarity]
gdb/ppc-netbsd-tdep.h [moved from gdb/ppc-nbsd-tdep.h with 100% similarity]
gdb/sh-netbsd-nat.c [moved from gdb/sh-nbsd-nat.c with 99% similarity]
gdb/sh-netbsd-tdep.c [moved from gdb/sh-nbsd-tdep.c with 98% similarity]
gdb/sparc-netbsd-nat.c [moved from gdb/sparc-nbsd-nat.c with 100% similarity]
gdb/sparc-netbsd-tdep.c [moved from gdb/sparc-nbsd-tdep.c with 99% similarity]
gdb/sparc64-netbsd-nat.c [moved from gdb/sparc64-nbsd-nat.c with 100% similarity]
gdb/sparc64-netbsd-tdep.c [moved from gdb/sparc64-nbsd-tdep.c with 99% similarity]
gdb/sparc64-tdep.h
gdb/vax-bsd-nat.c
gdb/vax-netbsd-tdep.c [moved from gdb/vax-nbsd-tdep.c with 98% similarity]

index 7dc3590f14632f8aacf8dfac7398f20f9e00d5cf..795303856172bfa63cc00eae3cdafb18e555cd34 100644 (file)
@@ -1,3 +1,70 @@
+2020-10-13  Kamil Rytarowski  <n54@gmx.com>
+
+       * Makefile.in (ALL_64_TARGET_OBS, ALL_TARGET_OBS)
+       HFILES_NO_SRCDIR, ALLDEPFILES): Rename files.
+       * alpha-bsd-nat.c: Adjust include.
+       * alpha-bsd-tdep.h: Adjust comment.
+       * alpha-nbsd-tdep.c: Rename to ...
+       * alpha-netbsd-tdep.c: ... this, adjust include.
+       * amd64-nbsd-nat.c: Rename to ...
+       * amd64-netbsd-nat.c: ... this, adjust include.
+       * amd64-nbsd-tdep.c: Rename to ...
+       * amd64-netbsd-tdep.c: ... this, adjust include.
+       * amd64-tdep.h: Adjust include.
+       * arm-nbsd-nat.c: Rename to ...
+       * arm-netbsd-nat.c: ... this, adjust include.
+       * arm-nbsd-tdep.c: Rename to ...
+       * arm-netbsd-tdep.c: ... this, adjust include.
+       * arm-nbsd-tdep.h: Rename to ...
+       * arm-netbsd-tdep.h: ... this, adjust include.
+       * configure.nat: Adjust file lists.
+       * configure.tgt: Likewise.
+       * hppa-nbsd-nat.c: Rename to ...
+       * hppa-netbsd-nat.c: ... this, adjust include.
+       * hppa-nbsd-tdep.c: Rename to ...
+       * hppa-netbsd-tdep.c: ... this, adjust include.
+       * i386-nbsd-nat.c: Rename to ...
+       * i386-netbsd-nat.c: ... this, adjust include.
+       * i386-nbsd-tdep.c: Rename to ...
+       * i386-netbsd-tdep.c: ... this, adjust include.
+       * m68k-bsd-nat.c: Adjust include.
+       * mips-nbsd-nat.c: Rename to ...
+       * mips-netbsd-nat.c: ... this, adjust include.
+       * mips-nbsd-tdep.c: Rename to ...
+       * mips-netbsd-tdep.c: ... this, adjust include.
+       * mips-nbsd-tdep.h: Rename to ...
+       * mips-netbsd-tdep.h: ... this.
+       * nbsd-nat.c: Rename to ...
+       * netbsd-nat.c: ... this, adjust include.
+       * nbsd-nat.h: Rename to ...
+       * netbsd-nat.h: ... this, adjust include.
+       * nbsd-tdep.c: Rename to ...
+       * netbsd-tdep.c: ... this, adjust include.
+       * nbsd-tdep.h: Rename to ...
+       * netbsd-tdep.h: ... this.
+       * ppc-nbsd-nat.c: Rename to ...
+       * ppc-netbsd-nat.c: ... this, adjust include.
+       * ppc-nbsd-tdep.c: Rename to ...
+       * ppc-netbsd-tdep.c: ... this, adjust include and comment.
+       * ppc-nbsd-tdep.h: Rename to ...
+       * ppc-netbsd-tdep.h: ... this.
+       * sh-nbsd-nat.c: Rename to ...
+       * sh-netbsd-nat.c: ... this, adjust include.
+       * sh-nbsd-tdep.c: Rename to ...
+       * sh-netbsd-tdep.c: ... this, adjust include.
+       * sparc-nbsd-nat.c: Rename to ...
+       * sparc-netbsd-nat.c: ... this.
+       * sparc-nbsd-tdep.c: Rename to ...
+       * sparc-netbsd-tdep.c: ... this, adjust include.
+       * sparc64-nbsd-nat.c: Rename to ...
+       * sparc64-netbsd-nat.c: ... this.
+       * sparc64-nbsd-tdep.c: Rename to ...
+       * sparc64-netbsd-tdep.c: ... this, adjust include.
+       * sparc64-tdep.h: Adjust comment.
+       * vax-bsd-nat.c: Adjust include.
+       * vax-nbsd-tdep.c: Rename to ...
+       * vax-netbsd-tdep.c: ... this, adjust include.
+
 2020-10-12  Tom Tromey  <tom@tromey.com>
 
        * target.h (struct target_ops) <get_section_table>: Update.
index 5f92e8781e7bcba718358c5200cd56d9af6d3eef..8a160896e2c3dfbe8e95fe3f87ab3d57513e5d94 100644 (file)
@@ -678,14 +678,14 @@ ALL_64_TARGET_OBS = \
        alpha-bsd-tdep.o \
        alpha-linux-tdep.o \
        alpha-mdebug-tdep.o \
-       alpha-nbsd-tdep.o \
+       alpha-netbsd-tdep.o \
        alpha-obsd-tdep.o \
        alpha-tdep.o \
        amd64-darwin-tdep.o \
        amd64-dicos-tdep.o \
        amd64-fbsd-tdep.o \
        amd64-linux-tdep.o \
-       amd64-nbsd-tdep.o \
+       amd64-netbsd-tdep.o \
        amd64-obsd-tdep.o \
        amd64-sol2-tdep.o \
        amd64-tdep.o \
@@ -699,7 +699,7 @@ ALL_64_TARGET_OBS = \
        mips64-obsd-tdep.o \
        sparc64-fbsd-tdep.o \
        sparc64-linux-tdep.o \
-       sparc64-nbsd-tdep.o \
+       sparc64-netbsd-tdep.o \
        sparc64-obsd-tdep.o \
        sparc64-sol2-tdep.o \
        sparc64-tdep.o
@@ -720,7 +720,7 @@ ALL_TARGET_OBS = \
        arm-bsd-tdep.o \
        arm-fbsd-tdep.o \
        arm-linux-tdep.o \
-       arm-nbsd-tdep.o \
+       arm-netbsd-tdep.o \
        arm-obsd-tdep.o \
        arm-pikeos-tdep.o \
        arm-symbian-tdep.o \
@@ -744,7 +744,7 @@ ALL_TARGET_OBS = \
        h8300-tdep.o \
        hppa-bsd-tdep.o \
        hppa-linux-tdep.o \
-       hppa-nbsd-tdep.o \
+       hppa-netbsd-tdep.o \
        hppa-obsd-tdep.o \
        hppa-tdep.o \
        i386-bsd-tdep.o \
@@ -754,7 +754,7 @@ ALL_TARGET_OBS = \
        i386-gnu-tdep.o \
        i386-go32-tdep.o \
        i386-linux-tdep.o \
-       i386-nbsd-tdep.o \
+       i386-netbsd-tdep.o \
        i386-nto-tdep.o \
        i386-obsd-tdep.o \
        i386-sol2-tdep.o \
@@ -777,14 +777,14 @@ ALL_TARGET_OBS = \
        microblaze-tdep.o \
        mips-fbsd-tdep.o \
        mips-linux-tdep.o \
-       mips-nbsd-tdep.o \
+       mips-netbsd-tdep.o \
        mips-sde-tdep.o \
        mips-tdep.o \
        mn10300-linux-tdep.o \
        mn10300-tdep.o \
        moxie-tdep.o \
        msp430-tdep.o \
-       nbsd-tdep.o \
+       netbsd-tdep.o \
        nds32-tdep.o \
        nios2-linux-tdep.o \
        nios2-tdep.o \
@@ -794,7 +794,7 @@ ALL_TARGET_OBS = \
        or1k-tdep.o \
        ppc-fbsd-tdep.o \
        ppc-linux-tdep.o \
-       ppc-nbsd-tdep.o \
+       ppc-netbsd-tdep.o \
        ppc-obsd-tdep.o \
        ppc-ravenscar-thread.o \
        ppc-sysv-tdep.o \
@@ -814,7 +814,7 @@ ALL_TARGET_OBS = \
        s390-tdep.o \
        score-tdep.o \
        sh-linux-tdep.o \
-       sh-nbsd-tdep.o \
+       sh-netbsd-tdep.o \
        sh-tdep.o \
        sol2-tdep.o \
        solib-aix.o \
@@ -823,7 +823,7 @@ ALL_TARGET_OBS = \
        solib-frv.o \
        solib-svr4.o \
        sparc-linux-tdep.o \
-       sparc-nbsd-tdep.o \
+       sparc-netbsd-tdep.o \
        sparc-obsd-tdep.o \
        sparc-ravenscar-thread.o \
        sparc-sol2-tdep.o \
@@ -834,7 +834,7 @@ ALL_TARGET_OBS = \
        tilegx-linux-tdep.o \
        tilegx-tdep.o \
        v850-tdep.o \
-       vax-nbsd-tdep.o \
+       vax-netbsd-tdep.o \
        vax-tdep.o \
        windows-tdep.o \
        x86-tdep.o \
@@ -1224,7 +1224,7 @@ HFILES_NO_SRCDIR = \
        arc-tdep.h \
        arch-utils.h \
        arm-linux-tdep.h \
-       arm-nbsd-tdep.h \
+       arm-netbsd-tdep.h \
        arm-tdep.h \
        async-event.h \
        auto-load.h \
@@ -1342,12 +1342,12 @@ HFILES_NO_SRCDIR = \
        memrange.h \
        microblaze-tdep.h \
        mips-linux-tdep.h \
-       mips-nbsd-tdep.h \
+       mips-netbsd-tdep.h \
        mips-tdep.h \
        mn10300-tdep.h \
        moxie-tdep.h \
-       nbsd-nat.h \
-       nbsd-tdep.h \
+       netbsd-nat.h \
+       netbsd-tdep.h \
        nds32-tdep.h \
        nios2-tdep.h \
        nto-tdep.h \
@@ -1361,7 +1361,7 @@ HFILES_NO_SRCDIR = \
        parser-defs.h \
        ppc-fbsd-tdep.h \
        ppc-linux-tdep.h \
-       ppc-nbsd-tdep.h \
+       ppc-netbsd-tdep.h \
        ppc-obsd-tdep.h \
        ppc-ravenscar-thread.h \
        ppc-tdep.h \
@@ -2124,7 +2124,7 @@ ALLDEPFILES = \
        alpha-linux-nat.c \
        alpha-linux-tdep.c \
        alpha-mdebug-tdep.c \
-       alpha-nbsd-tdep.c \
+       alpha-netbsd-tdep.c \
        alpha-obsd-tdep.c \
        alpha-tdep.c \
        amd64-bsd-nat.c \
@@ -2135,8 +2135,8 @@ ALLDEPFILES = \
        amd64-linux-nat.c \
        amd64-linux-tdep.c \
        amd64-nat.c \
-       amd64-nbsd-nat.c \
-       amd64-nbsd-tdep.c \
+       amd64-netbsd-nat.c \
+       amd64-netbsd-tdep.c \
        amd64-obsd-nat.c \
        amd64-obsd-tdep.c \
        amd64-sol2-tdep.c \
@@ -2150,8 +2150,8 @@ ALLDEPFILES = \
        arm-linux.c \
        arm-linux-nat.c \
        arm-linux-tdep.c \
-       arm-nbsd-nat.c \
-       arm-nbsd-tdep.c \
+       arm-netbsd-nat.c \
+       arm-netbsd-tdep.c \
        arm-obsd-tdep.c \
        arm-symbian-tdep.c \
        arm-tdep.c \
@@ -2175,8 +2175,8 @@ ALLDEPFILES = \
        hppa-bsd-tdep.c \
        hppa-linux-nat.c \
        hppa-linux-tdep.c \
-       hppa-nbsd-nat.c \
-       hppa-nbsd-tdep.c \
+       hppa-netbsd-nat.c \
+       hppa-netbsd-tdep.c \
        hppa-obsd-nat.c \
        hppa-obsd-tdep.c \
        hppa-tdep.c \
@@ -2191,8 +2191,8 @@ ALLDEPFILES = \
        i386-gnu-tdep.c \
        i386-linux-nat.c \
        i386-linux-tdep.c \
-       i386-nbsd-nat.c \
-       i386-nbsd-tdep.c \
+       i386-netbsd-nat.c \
+       i386-netbsd-tdep.c \
        i386-obsd-nat.c \
        i386-obsd-tdep.c \
        i386-sol2-nat.c \
@@ -2226,15 +2226,15 @@ ALLDEPFILES = \
        mips-fbsd-tdep.c \
        mips-linux-nat.c \
        mips-linux-tdep.c \
-       mips-nbsd-nat.c \
-       mips-nbsd-tdep.c \
+       mips-netbsd-nat.c \
+       mips-netbsd-tdep.c \
        mips-sde-tdep.c \
        mips-tdep.c \
        mips64-obsd-nat.c \
        mips64-obsd-tdep.c \
        msp430-tdep.c \
-       nbsd-nat.c \
-       nbsd-tdep.c \
+       netbsd-nat.c \
+       netbsd-tdep.c \
        nds32-tdep.c \
        nios2-linux-tdep.c \
        nios2-tdep.c \
@@ -2245,8 +2245,8 @@ ALLDEPFILES = \
        ppc-fbsd-tdep.c \
        ppc-linux-nat.c \
        ppc-linux-tdep.c \
-       ppc-nbsd-nat.c \
-       ppc-nbsd-tdep.c \
+       ppc-netbsd-nat.c \
+       ppc-netbsd-tdep.c \
        ppc-obsd-nat.c \
        ppc-obsd-tdep.c \
        ppc-ravenscar-thread.c \
@@ -2275,8 +2275,8 @@ ALLDEPFILES = \
        ser-pipe.c \
        ser-tcp.c \
        ser-uds.c \
-       sh-nbsd-nat.c \
-       sh-nbsd-tdep.c \
+       sh-netbsd-nat.c \
+       sh-netbsd-tdep.c \
        sh-tdep.c \
        sol2-tdep.c \
        solib-aix.c \
@@ -2284,8 +2284,8 @@ ALLDEPFILES = \
        sparc-linux-nat.c \
        sparc-linux-tdep.c \
        sparc-nat.c \
-       sparc-nbsd-nat.c \
-       sparc-nbsd-tdep.c \
+       sparc-netbsd-nat.c \
+       sparc-netbsd-tdep.c \
        sparc-obsd-tdep.c \
        sparc-ravenscar-thread.c \
        sparc-sol2-nat.c \
@@ -2296,8 +2296,8 @@ ALLDEPFILES = \
        sparc64-linux-nat.c \
        sparc64-linux-tdep.c \
        sparc64-nat.c \
-       sparc64-nbsd-nat.c \
-       sparc64-nbsd-tdep.c \
+       sparc64-netbsd-nat.c \
+       sparc64-netbsd-tdep.c \
        sparc64-obsd-nat.c \
        sparc64-obsd-tdep.c \
        sparc64-sol2-tdep.c \
@@ -2307,7 +2307,7 @@ ALLDEPFILES = \
        tilegx-tdep.c \
        v850-tdep.c \
        vax-bsd-nat.c \
-       vax-nbsd-tdep.c \
+       vax-netbsd-tdep.c \
        vax-tdep.c \
        windows-nat.c \
        windows-tdep.c \
index 8a8273934c4eb31d925ad51ead9c9bd9daf8dc4d..df9892e7e8c98408d48d151b50136d92d4fe6dc1 100644 (file)
@@ -26,7 +26,7 @@
 #include "alpha-tdep.h"
 #include "alpha-bsd-tdep.h"
 #include "inf-ptrace.h"
-#include "nbsd-nat.h"
+#include "netbsd-nat.h"
 
 #include <sys/types.h>
 #include <sys/ptrace.h>
index a8fd7ba9d1b891eae43e7097561f1a3c4284510b..728763f0b1f4e21477684a231b120038590706f4 100644 (file)
@@ -31,7 +31,7 @@ void alphabsd_supply_fpreg (struct regcache *, const char *, int);
 void alphabsd_fill_fpreg (const struct regcache *, char *, int);
 \f
 
-/* Functions exported from alpha-nbsd-tdep.c.  */
+/* Functions exported from alpha-netbsd-tdep.c.  */
 
 /* Iterate over supported core file register note sections. */
 void alphanbsd_iterate_over_regset_sections (struct gdbarch *gdbarch,
similarity index 99%
rename from gdb/alpha-nbsd-tdep.c
rename to gdb/alpha-netbsd-tdep.c
index 58294edb3f66b21355a51b65194a32f8a5841391..c78e49601f2bd970d558feb80adb70ccc18fa3f9 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "alpha-tdep.h"
 #include "alpha-bsd-tdep.h"
-#include "nbsd-tdep.h"
+#include "netbsd-tdep.h"
 #include "solib-svr4.h"
 #include "target.h"
 
similarity index 98%
rename from gdb/amd64-nbsd-nat.c
rename to gdb/amd64-netbsd-nat.c
index 7a4c0057352656331077b246ad4e750638b20700..f518d37fb86674eb2966182cf38ad0d8874252c8 100644 (file)
@@ -20,7 +20,7 @@
 #include "defs.h"
 #include "target.h"
 
-#include "nbsd-nat.h"
+#include "netbsd-nat.h"
 #include "amd64-tdep.h"
 #include "amd64-bsd-nat.h"
 #include "amd64-nat.h"
similarity index 99%
rename from gdb/amd64-nbsd-tdep.c
rename to gdb/amd64-netbsd-tdep.c
index 59071488ed791fcea603c5a63fa1c1ebdb45f14e..16c4f0b135cf32a697126a95108f40667c973163 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "amd64-tdep.h"
 #include "gdbsupport/x86-xstate.h"
-#include "nbsd-tdep.h"
+#include "netbsd-tdep.h"
 #include "solib-svr4.h"
 
 /* Support for signal handlers.  */
index 44c1250cb915cfce71ee15ded244069ac9c5adb2..a4e69565593461a9512658e14d93671c04e01688 100644 (file)
@@ -139,7 +139,7 @@ extern const struct regset amd64_fpregset;
 /* Variables exported from amd64-linux-tdep.c.  */
 extern int amd64_linux_gregset_reg_offset[];
 
-/* Variables exported from amd64-nbsd-tdep.c.  */
+/* Variables exported from amd64-netbsd-tdep.c.  */
 extern int amd64nbsd_r_reg_offset[];
 
 /* Variables exported from amd64-obsd-tdep.c.  */
similarity index 99%
rename from gdb/arm-nbsd-nat.c
rename to gdb/arm-netbsd-nat.c
index a8a67e6e85202c71bfeb905d356b3f28f23b6380..acdbdd3de7d3a289aeebe1b3c0ce672ac37e9c59 100644 (file)
 #include <machine/frame.h>
 
 #include "arm-tdep.h"
-#include "arm-nbsd-tdep.h"
+#include "arm-netbsd-tdep.h"
 #include "aarch32-tdep.h"
 #include "inf-ptrace.h"
-#include "nbsd-nat.h"
+#include "netbsd-nat.h"
 
 class arm_netbsd_nat_target final : public nbsd_nat_target
 {
similarity index 99%
rename from gdb/arm-nbsd-tdep.c
rename to gdb/arm-netbsd-tdep.c
index b1e369d41c2e92d18c6dcb9e7f4607bf7f48af87..fa2e4498eca6bc375757345e999b7d16bc9e2ccf 100644 (file)
@@ -21,8 +21,8 @@
 #include "osabi.h"
 
 #include "arch/arm.h"
-#include "arm-nbsd-tdep.h"
-#include "nbsd-tdep.h"
+#include "arm-netbsd-tdep.h"
+#include "netbsd-tdep.h"
 #include "arm-tdep.h"
 #include "regset.h"
 #include "solib-svr4.h"
similarity index 100%
rename from gdb/arm-nbsd-tdep.h
rename to gdb/arm-netbsd-tdep.h
index 3e94a064aeb6360ef7e452c9569d9adb8ca60185..ef2218f0b8d4debca2ef07e42671019105ee61dd 100644 (file)
@@ -338,20 +338,20 @@ case ${gdb_host} in
                ;;
            mips)
                # Host: NetBSD/mips
-               NATDEPFILES="${NATDEPFILES} mips-nbsd-nat.o"
+               NATDEPFILES="${NATDEPFILES} mips-netbsd-nat.o"
                ;;
            pa)
                # Host: NetBSD/hppa
-               NATDEPFILES="${NATDEPFILES} nbsd-nat.o hppa-nbsd-nat.o"
+               NATDEPFILES="${NATDEPFILES} netbsd-nat.o hppa-netbsd-nat.o"
                ;;
            powerpc)
                # Host: NetBSD/powerpc
-               NATDEPFILES="${NATDEPFILES} ppc-nbsd-nat.o bsd-kvm.o"
+               NATDEPFILES="${NATDEPFILES} ppc-netbsd-nat.o bsd-kvm.o"
                LOADLIBES='-lkvm'
                ;;
            sh)
                # Host: NetBSD/sh
-               NATDEPFILES="${NATDEPFILES} sh-nbsd-nat.o"
+               NATDEPFILES="${NATDEPFILES} sh-netbsd-nat.o"
                ;;
 
        esac
@@ -360,12 +360,12 @@ case ${gdb_host} in
        case ${gdb_host_cpu} in
            i386)
                # Host: NetBSD/amd64
-               NATDEPFILES="${NATDEPFILES} nbsd-nat.o amd64-nat.o x86-nat.o \
-               nat/x86-dregs.o x86-bsd-nat.o amd64-bsd-nat.o amd64-nbsd-nat.o"
+               NATDEPFILES="${NATDEPFILES} netbsd-nat.o amd64-nat.o x86-nat.o \
+               nat/x86-dregs.o x86-bsd-nat.o amd64-bsd-nat.o amd64-netbsd-nat.o"
                ;;
            sparc)
                # Host: NetBSD/sparc64
-               NATDEPFILES="${NATDEPFILES} sparc64-nbsd-nat.o sparc-nat.o \
+               NATDEPFILES="${NATDEPFILES} sparc64-netbsd-nat.o sparc-nat.o \
                bsd-kvm.o"
                LOADLIBES='-lkvm'
                ;;
@@ -376,13 +376,13 @@ case ${gdb_host} in
        case ${gdb_host_cpu} in
            arm)
                # Host: NetBSD/arm
-               NATDEPFILES="${NATDEPFILES} arm-nbsd-nat.o"
+               NATDEPFILES="${NATDEPFILES} arm-netbsd-nat.o"
                ;;
            i386)
                # Host: NetBSD/i386 ELF
-               NATDEPFILES="${NATDEPFILES} nbsd-nat.o x86-nat.o \
+               NATDEPFILES="${NATDEPFILES} netbsd-nat.o x86-nat.o \
                nat/x86-dregs.o \
-               x86-bsd-nat.o i386-bsd-nat.o i386-nbsd-nat.o bsd-kvm.o"
+               x86-bsd-nat.o i386-bsd-nat.o i386-netbsd-nat.o bsd-kvm.o"
                LOADLIBES='-lkvm'
                ;;
            m68k)
@@ -392,7 +392,7 @@ case ${gdb_host} in
                ;;
            sparc)
                # Host: NetBSD/sparc ELF
-               NATDEPFILES="${NATDEPFILES} sparc-nat.o sparc-nbsd-nat.o \
+               NATDEPFILES="${NATDEPFILES} sparc-nat.o sparc-netbsd-nat.o \
                bsd-kvm.o"
                LOADLIBES='-lkvm'
                ;;
index a3e11c4b9b8b147af0b10587da304c9b0cc54792..d865ecdcb60055bf68553b38bfc3438cbe9f0aea 100644 (file)
@@ -138,12 +138,12 @@ alpha*-*-linux*)
 alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
        # Target: NetBSD/alpha
        gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
-                       alpha-nbsd-tdep.o"
+                       alpha-netbsd-tdep.o"
        ;;
 alpha*-*-openbsd*)
        # Target: OpenBSD/alpha
        gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
-                       alpha-nbsd-tdep.o alpha-obsd-tdep.o nbsd-tdep.o"
+                       alpha-netbsd-tdep.o alpha-obsd-tdep.o nbsd-tdep.o"
        ;;
 
 am33_2.0*-*-linux*)
@@ -177,7 +177,7 @@ arm*-*-freebsd*)
        ;;
 arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
        # Target: NetBSD/arm
-       gdb_target_obs="arm-nbsd-tdep.o"
+       gdb_target_obs="arm-netbsd-tdep.o"
        ;;
 arm*-*-openbsd*)
        # Target: OpenBSD/arm
@@ -256,7 +256,7 @@ hppa*-*-linux*)
        ;;
 hppa*-*-netbsd*)
        # Target: NetBSD/hppa
-       gdb_target_obs="hppa-bsd-tdep.o hppa-nbsd-tdep.o solib-svr4.o"
+       gdb_target_obs="hppa-bsd-tdep.o hppa-netbsd-tdep.o solib-svr4.o"
        ;;
 hppa*-*-openbsd*)
        # Target: OpenBSD/hppa
@@ -281,7 +281,7 @@ i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
        ;;
 i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
        # Target: NetBSD/i386
-       gdb_target_obs="i386-bsd-tdep.o i386-nbsd-tdep.o "
+       gdb_target_obs="i386-bsd-tdep.o i386-netbsd-tdep.o "
        ;;
 i[34567]86-*-openbsd*)
        # Target: OpenBSD/i386
@@ -418,7 +418,7 @@ mips*-*-linux*)
        ;;
 mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
        # Target: MIPS running NetBSD
-       gdb_target_obs="mips-tdep.o mips-nbsd-tdep.o"
+       gdb_target_obs="mips-tdep.o mips-netbsd-tdep.o"
        gdb_sim=../sim/mips/libsim.a
        ;;
 mips*-*-freebsd*)
@@ -495,7 +495,7 @@ powerpc*-*-freebsd*)
 
 powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
        # Target: NetBSD/powerpc
-       gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-nbsd-tdep.o \
+       gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc-netbsd-tdep.o \
                        ravenscar-thread.o ppc-ravenscar-thread.o"
        gdb_sim=../sim/ppc/libsim.a
        ;;
@@ -581,12 +581,12 @@ sh*-*-linux*)
        ;;
 sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
        # Target: NetBSD/sh
-       gdb_target_obs="sh-tdep.o sh-nbsd-tdep.o"
+       gdb_target_obs="sh-tdep.o sh-netbsd-tdep.o"
        gdb_sim=../sim/sh/libsim.a
        ;;
 sh*-*-openbsd*)
        # Target: OpenBSD/sh
-       gdb_target_obs="sh-tdep.o sh-nbsd-tdep.o"
+       gdb_target_obs="sh-tdep.o sh-netbsd-tdep.o"
        ;;
 sh*)
        # Target: Embedded Renesas Super-H processor
@@ -620,25 +620,25 @@ sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
        ;;
 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
        # Target: NetBSD/sparc
-       gdb_target_obs="sparc-tdep.o sparc-nbsd-tdep.o \
+       gdb_target_obs="sparc-tdep.o sparc-netbsd-tdep.o \
                        ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
        # Target: NetBSD/sparc64
-       gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc-tdep.o \
-                       sparc-nbsd-tdep.o \
+       gdb_target_obs="sparc64-tdep.o sparc64-netbsd-tdep.o sparc-tdep.o \
+                       sparc-netbsd-tdep.o \
                        ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
 sparc-*-openbsd*)
        # Target: OpenBSD/sparc
-       gdb_target_obs="sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \
+       gdb_target_obs="sparc-tdep.o sparc-netbsd-tdep.o sparc-obsd-tdep.o \
                        nbsd-tdep.o bsd-uthread.o \
                        ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
 sparc64-*-openbsd*)
        # Target: OpenBSD/sparc64
-       gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc64-obsd-tdep.o \
-                       sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \
+       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 \
                        ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
@@ -746,7 +746,7 @@ x86_64-*-mingw* | x86_64-*-cygwin*)
         ;;
 x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
        # Target: NetBSD/amd64
-       gdb_target_obs="amd64-nbsd-tdep.o ${i386_tobjs}"
+       gdb_target_obs="amd64-netbsd-tdep.o ${i386_tobjs}"
        ;;
 x86_64-*-openbsd*)
        # Target: OpenBSD/amd64
similarity index 99%
rename from gdb/hppa-nbsd-nat.c
rename to gdb/hppa-netbsd-nat.c
index c35f30daa8ea8e822d08677c6767b860be95acb4..a3a2e32a3a2fe2bd883ce837e4a94810f62b2055 100644 (file)
@@ -28,7 +28,7 @@
 #include "hppa-tdep.h"
 #include "inf-ptrace.h"
 
-#include "nbsd-nat.h"
+#include "netbsd-nat.h"
 
 class hppa_nbsd_nat_target final : public nbsd_nat_target
 {
similarity index 99%
rename from gdb/hppa-nbsd-tdep.c
rename to gdb/hppa-netbsd-tdep.c
index 5309b1976fd2a94a2cd41bb361c283ad5e1fa4f0..5a5520744b441d3486996811170a7342de9ae9f4 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "hppa-tdep.h"
 #include "hppa-bsd-tdep.h"
-#include "nbsd-tdep.h"
+#include "netbsd-tdep.h"
 #include "gdbarch.h"
 
 /* From <machine/mcontext.h>.  */
similarity index 99%
rename from gdb/i386-nbsd-nat.c
rename to gdb/i386-netbsd-nat.c
index ac775c1ff846605929553192d88f36e0e16ee0ee..4faa67f728af05798d4d8746e317743de5f18e21 100644 (file)
@@ -31,7 +31,7 @@
 #include <machine/frame.h>
 #include <machine/pcb.h>
 
-#include "nbsd-nat.h"
+#include "netbsd-nat.h"
 #include "bsd-kvm.h"
 
 static int
similarity index 99%
rename from gdb/i386-nbsd-tdep.c
rename to gdb/i386-netbsd-tdep.c
index 82772b480647f8a15fff9d405eb65cb5d5d194f8..905c4ff6fe4701649f0935b11fa35310786e6733 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "i386-tdep.h"
 #include "i387-tdep.h"
-#include "nbsd-tdep.h"
+#include "netbsd-tdep.h"
 #include "solib-svr4.h"
 
 /* From <machine/reg.h>.  */
index 9c42da5ca77c33bea8b72049cc90766e364486e3..731aaf0e3eaef9418bd6eb052ebd852c60121782 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "m68k-tdep.h"
 #include "inf-ptrace.h"
-#include "nbsd-nat.h"
+#include "netbsd-nat.h"
 
 struct m68k_bsd_nat_target final : public nbsd_nat_target
 {
similarity index 99%
rename from gdb/mips-nbsd-nat.c
rename to gdb/mips-netbsd-nat.c
index 461304a7e6c33f244c76d63dcfeaae239882c6a0..51ea1cb7f0dc8f0c686f6a26ae60c0312f38a229 100644 (file)
@@ -29,7 +29,7 @@
 #include <machine/reg.h>
 
 #include "mips-tdep.h"
-#include "mips-nbsd-tdep.h"
+#include "mips-netbsd-tdep.h"
 #include "inf-ptrace.h"
 
 class mips_nbsd_nat_target final : public inf_ptrace_target
similarity index 99%
rename from gdb/mips-nbsd-tdep.c
rename to gdb/mips-netbsd-tdep.c
index 524990a80976fa8226bba810e817f5c42e7b4ad1..b6f877310027ff5d4c7c8bdb6a80deb71cacab7a 100644 (file)
@@ -27,8 +27,8 @@
 #include "value.h"
 #include "osabi.h"
 
-#include "nbsd-tdep.h"
-#include "mips-nbsd-tdep.h"
+#include "netbsd-tdep.h"
+#include "mips-netbsd-tdep.h"
 #include "mips-tdep.h"
 
 #include "solib-svr4.h"
similarity index 100%
rename from gdb/mips-nbsd-tdep.h
rename to gdb/mips-netbsd-tdep.h
similarity index 99%
rename from gdb/nbsd-nat.c
rename to gdb/netbsd-nat.c
index 46dcfac2cf6d7e2d75ef850f9778411c2436d831..e7962e09e57464c6a53ecb6affd36957e4105659 100644 (file)
 
 #include "defs.h"
 
-#include "nbsd-nat.h"
+#include "netbsd-nat.h"
 #include "nat/netbsd-nat.h"
 #include "gdbthread.h"
-#include "nbsd-tdep.h"
+#include "netbsd-tdep.h"
 #include "inferior.h"
 #include "gdbarch.h"
 
similarity index 98%
rename from gdb/nbsd-nat.h
rename to gdb/netbsd-nat.h
index 7461667cefb4c4a41a3803125a6153bbdd2a3e09..7a55094a8fc4bfb80a22395d57907ff0cb71cfe8 100644 (file)
@@ -59,4 +59,4 @@ struct nbsd_nat_target : public inf_ptrace_target
   void dumpcore (const char *filename) override;
 };
 
-#endif /* nbsd-nat.h */
+#endif /* netbsd-nat.h */
similarity index 99%
rename from gdb/nbsd-tdep.c
rename to gdb/netbsd-tdep.c
index 2db994af21811f82183cb9d2f342a8f3806deb51..0fa2d97b04a2dd31458038ffd4767fd0ad95d9ca 100644 (file)
@@ -22,7 +22,7 @@
 #include "defs.h"
 #include "auxv.h"
 #include "solib-svr4.h"
-#include "nbsd-tdep.h"
+#include "netbsd-tdep.h"
 #include "gdbarch.h"
 #include "objfiles.h"
 #include "xml-syscall.h"
similarity index 100%
rename from gdb/nbsd-tdep.h
rename to gdb/netbsd-tdep.h
similarity index 99%
rename from gdb/ppc-nbsd-nat.c
rename to gdb/ppc-netbsd-nat.c
index 8111f3ed0b79c65017786abf096287c082f7cc47..6ecff11823807b6667584ad12a6e4e62e5235c0f 100644 (file)
 #include "regcache.h"
 
 #include "ppc-tdep.h"
-#include "ppc-nbsd-tdep.h"
+#include "ppc-netbsd-tdep.h"
 #include "bsd-kvm.h"
 #include "inf-ptrace.h"
-#include "nbsd-nat.h"
+#include "netbsd-nat.h"
 
 struct ppc_nbsd_nat_target final : public nbsd_nat_target
 {
similarity index 98%
rename from gdb/ppc-nbsd-tdep.c
rename to gdb/ppc-netbsd-tdep.c
index fa90243d9648bfcb9bf8515f4298ce463b882998..64f2b402cad2dbee24446fb1023c4d9005ad5aa1 100644 (file)
@@ -28,7 +28,7 @@
 #include "tramp-frame.h"
 
 #include "ppc-tdep.h"
-#include "nbsd-tdep.h"
+#include "netbsd-tdep.h"
 #include "ppc-tdep.h"
 #include "solib-svr4.h"
 
@@ -199,7 +199,7 @@ _initialize_ppcnbsd_tdep ()
                          ppcnbsd_init_abi);
 
   /* Avoid initializing the register offsets again if they were
-     already initialized by ppcnbsd-nat.c.  */
+     already initialized by ppc-netbsd-nat.c.  */
   if (ppcnbsd_reg_offsets.pc_offset == 0)
     {
       /* General-purpose registers.  */
similarity index 100%
rename from gdb/ppc-nbsd-tdep.h
rename to gdb/ppc-netbsd-tdep.h
similarity index 99%
rename from gdb/sh-nbsd-nat.c
rename to gdb/sh-netbsd-nat.c
index b4f9db691ce0869bccf1cbba14aea71472946bf6..fcdc4efb7954af97090fa3276db7f739f6820f46 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "sh-tdep.h"
 #include "inf-ptrace.h"
-#include "nbsd-nat.h"
+#include "netbsd-nat.h"
 #include "regcache.h"
 
 struct sh_nbsd_nat_target final : public nbsd_nat_target
similarity index 98%
rename from gdb/sh-nbsd-tdep.c
rename to gdb/sh-netbsd-tdep.c
index 6551c47b5e166bfd7b0dea4461d97ab0b0d23363..eabec984ced6f7f72ae2bdbb2404297727a7d05a 100644 (file)
@@ -26,7 +26,7 @@
 #include "osabi.h"
 
 #include "sh-tdep.h"
-#include "nbsd-tdep.h"
+#include "netbsd-tdep.h"
 #include "solib-svr4.h"
 #include "gdbarch.h"
 
similarity index 100%
rename from gdb/sparc-nbsd-nat.c
rename to gdb/sparc-netbsd-nat.c
similarity index 99%
rename from gdb/sparc-nbsd-tdep.c
rename to gdb/sparc-netbsd-tdep.c
index ab1b557c57cd8cdf6c00d8350aa13f2916439740..7cb412621dcd29227c3ff9f67ef18efb694bfa9a 100644 (file)
@@ -32,7 +32,7 @@
 #include "gdbarch.h"
 
 #include "sparc-tdep.h"
-#include "nbsd-tdep.h"
+#include "netbsd-tdep.h"
 
 /* Macros to extract fields from SPARC instructions.  */
 #define X_RS1(i) (((i) >> 14) & 0x1f)
similarity index 99%
rename from gdb/sparc64-nbsd-tdep.c
rename to gdb/sparc64-netbsd-tdep.c
index dac7fa78b9b1403b3f967610be0cf529b7515758..f5329a350b007101f158c2032725b1a55fb64c83 100644 (file)
@@ -31,7 +31,7 @@
 #include "trad-frame.h"
 
 #include "sparc64-tdep.h"
-#include "nbsd-tdep.h"
+#include "netbsd-tdep.h"
 
 /* From <machine/reg.h>.  */
 const struct sparc_gregmap sparc64nbsd_gregmap =
index d3ba9e22a456ccec82ed7c37f7fccd927e5e8e97..f6305926dbd829612b0d138e97da0b58a96e851d 100644 (file)
@@ -124,7 +124,7 @@ extern const struct sparc_fpregmap sparc64_sol2_fpregmap;
 /* Register offsets for FreeBSD/sparc64.  */
 extern const struct sparc_gregmap sparc64fbsd_gregmap;
 
-/* Functions and variables exported from sparc64-nbsd-tdep.c.  */
+/* Functions and variables exported from sparc64-netbsd-tdep.c.  */
 
 /* Register offsets for NetBSD/sparc64.  */
 extern const struct sparc_gregmap sparc64nbsd_gregmap;
index 1ca1f7bb1e827e71750afe6e5aa87604cee2adfc..8a08f48b05584cd08da9d458c285d04029fe7862 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "vax-tdep.h"
 #include "inf-ptrace.h"
-#include "nbsd-nat.h"
+#include "netbsd-nat.h"
 
 struct vax_bsd_nat_target final : public nbsd_nat_target
 {
similarity index 98%
rename from gdb/vax-nbsd-tdep.c
rename to gdb/vax-netbsd-tdep.c
index 40007f1166010b37ef481d4728be5fad12b12071..18add04262082f2e5df432cc2532c098024c6402 100644 (file)
@@ -22,7 +22,7 @@
 #include "osabi.h"
 
 #include "vax-tdep.h"
-#include "nbsd-tdep.h"
+#include "netbsd-tdep.h"
 #include "solib-svr4.h"
 
 /* NetBSD ELF.  */