Normalize names of the NetBSD files

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.
This commit is contained in:
Kamil Rytarowski
2020-10-06 21:36:22 +02:00
committed by Kamil Rytarowski
parent d7a78e5c41
commit 1b71cfcfdc
37 changed files with 166 additions and 99 deletions

View 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> 2020-10-12 Tom Tromey <tom@tromey.com>
* target.h (struct target_ops) <get_section_table>: Update. * target.h (struct target_ops) <get_section_table>: Update.

View File

@@ -678,14 +678,14 @@ ALL_64_TARGET_OBS = \
alpha-bsd-tdep.o \ alpha-bsd-tdep.o \
alpha-linux-tdep.o \ alpha-linux-tdep.o \
alpha-mdebug-tdep.o \ alpha-mdebug-tdep.o \
alpha-nbsd-tdep.o \ alpha-netbsd-tdep.o \
alpha-obsd-tdep.o \ alpha-obsd-tdep.o \
alpha-tdep.o \ alpha-tdep.o \
amd64-darwin-tdep.o \ amd64-darwin-tdep.o \
amd64-dicos-tdep.o \ amd64-dicos-tdep.o \
amd64-fbsd-tdep.o \ amd64-fbsd-tdep.o \
amd64-linux-tdep.o \ amd64-linux-tdep.o \
amd64-nbsd-tdep.o \ amd64-netbsd-tdep.o \
amd64-obsd-tdep.o \ amd64-obsd-tdep.o \
amd64-sol2-tdep.o \ amd64-sol2-tdep.o \
amd64-tdep.o \ amd64-tdep.o \
@@ -699,7 +699,7 @@ ALL_64_TARGET_OBS = \
mips64-obsd-tdep.o \ mips64-obsd-tdep.o \
sparc64-fbsd-tdep.o \ sparc64-fbsd-tdep.o \
sparc64-linux-tdep.o \ sparc64-linux-tdep.o \
sparc64-nbsd-tdep.o \ sparc64-netbsd-tdep.o \
sparc64-obsd-tdep.o \ sparc64-obsd-tdep.o \
sparc64-sol2-tdep.o \ sparc64-sol2-tdep.o \
sparc64-tdep.o sparc64-tdep.o
@@ -720,7 +720,7 @@ ALL_TARGET_OBS = \
arm-bsd-tdep.o \ arm-bsd-tdep.o \
arm-fbsd-tdep.o \ arm-fbsd-tdep.o \
arm-linux-tdep.o \ arm-linux-tdep.o \
arm-nbsd-tdep.o \ arm-netbsd-tdep.o \
arm-obsd-tdep.o \ arm-obsd-tdep.o \
arm-pikeos-tdep.o \ arm-pikeos-tdep.o \
arm-symbian-tdep.o \ arm-symbian-tdep.o \
@@ -744,7 +744,7 @@ ALL_TARGET_OBS = \
h8300-tdep.o \ h8300-tdep.o \
hppa-bsd-tdep.o \ hppa-bsd-tdep.o \
hppa-linux-tdep.o \ hppa-linux-tdep.o \
hppa-nbsd-tdep.o \ hppa-netbsd-tdep.o \
hppa-obsd-tdep.o \ hppa-obsd-tdep.o \
hppa-tdep.o \ hppa-tdep.o \
i386-bsd-tdep.o \ i386-bsd-tdep.o \
@@ -754,7 +754,7 @@ ALL_TARGET_OBS = \
i386-gnu-tdep.o \ i386-gnu-tdep.o \
i386-go32-tdep.o \ i386-go32-tdep.o \
i386-linux-tdep.o \ i386-linux-tdep.o \
i386-nbsd-tdep.o \ i386-netbsd-tdep.o \
i386-nto-tdep.o \ i386-nto-tdep.o \
i386-obsd-tdep.o \ i386-obsd-tdep.o \
i386-sol2-tdep.o \ i386-sol2-tdep.o \
@@ -777,14 +777,14 @@ ALL_TARGET_OBS = \
microblaze-tdep.o \ microblaze-tdep.o \
mips-fbsd-tdep.o \ mips-fbsd-tdep.o \
mips-linux-tdep.o \ mips-linux-tdep.o \
mips-nbsd-tdep.o \ mips-netbsd-tdep.o \
mips-sde-tdep.o \ mips-sde-tdep.o \
mips-tdep.o \ mips-tdep.o \
mn10300-linux-tdep.o \ mn10300-linux-tdep.o \
mn10300-tdep.o \ mn10300-tdep.o \
moxie-tdep.o \ moxie-tdep.o \
msp430-tdep.o \ msp430-tdep.o \
nbsd-tdep.o \ netbsd-tdep.o \
nds32-tdep.o \ nds32-tdep.o \
nios2-linux-tdep.o \ nios2-linux-tdep.o \
nios2-tdep.o \ nios2-tdep.o \
@@ -794,7 +794,7 @@ ALL_TARGET_OBS = \
or1k-tdep.o \ or1k-tdep.o \
ppc-fbsd-tdep.o \ ppc-fbsd-tdep.o \
ppc-linux-tdep.o \ ppc-linux-tdep.o \
ppc-nbsd-tdep.o \ ppc-netbsd-tdep.o \
ppc-obsd-tdep.o \ ppc-obsd-tdep.o \
ppc-ravenscar-thread.o \ ppc-ravenscar-thread.o \
ppc-sysv-tdep.o \ ppc-sysv-tdep.o \
@@ -814,7 +814,7 @@ ALL_TARGET_OBS = \
s390-tdep.o \ s390-tdep.o \
score-tdep.o \ score-tdep.o \
sh-linux-tdep.o \ sh-linux-tdep.o \
sh-nbsd-tdep.o \ sh-netbsd-tdep.o \
sh-tdep.o \ sh-tdep.o \
sol2-tdep.o \ sol2-tdep.o \
solib-aix.o \ solib-aix.o \
@@ -823,7 +823,7 @@ ALL_TARGET_OBS = \
solib-frv.o \ solib-frv.o \
solib-svr4.o \ solib-svr4.o \
sparc-linux-tdep.o \ sparc-linux-tdep.o \
sparc-nbsd-tdep.o \ sparc-netbsd-tdep.o \
sparc-obsd-tdep.o \ sparc-obsd-tdep.o \
sparc-ravenscar-thread.o \ sparc-ravenscar-thread.o \
sparc-sol2-tdep.o \ sparc-sol2-tdep.o \
@@ -834,7 +834,7 @@ ALL_TARGET_OBS = \
tilegx-linux-tdep.o \ tilegx-linux-tdep.o \
tilegx-tdep.o \ tilegx-tdep.o \
v850-tdep.o \ v850-tdep.o \
vax-nbsd-tdep.o \ vax-netbsd-tdep.o \
vax-tdep.o \ vax-tdep.o \
windows-tdep.o \ windows-tdep.o \
x86-tdep.o \ x86-tdep.o \
@@ -1224,7 +1224,7 @@ HFILES_NO_SRCDIR = \
arc-tdep.h \ arc-tdep.h \
arch-utils.h \ arch-utils.h \
arm-linux-tdep.h \ arm-linux-tdep.h \
arm-nbsd-tdep.h \ arm-netbsd-tdep.h \
arm-tdep.h \ arm-tdep.h \
async-event.h \ async-event.h \
auto-load.h \ auto-load.h \
@@ -1342,12 +1342,12 @@ HFILES_NO_SRCDIR = \
memrange.h \ memrange.h \
microblaze-tdep.h \ microblaze-tdep.h \
mips-linux-tdep.h \ mips-linux-tdep.h \
mips-nbsd-tdep.h \ mips-netbsd-tdep.h \
mips-tdep.h \ mips-tdep.h \
mn10300-tdep.h \ mn10300-tdep.h \
moxie-tdep.h \ moxie-tdep.h \
nbsd-nat.h \ netbsd-nat.h \
nbsd-tdep.h \ netbsd-tdep.h \
nds32-tdep.h \ nds32-tdep.h \
nios2-tdep.h \ nios2-tdep.h \
nto-tdep.h \ nto-tdep.h \
@@ -1361,7 +1361,7 @@ HFILES_NO_SRCDIR = \
parser-defs.h \ parser-defs.h \
ppc-fbsd-tdep.h \ ppc-fbsd-tdep.h \
ppc-linux-tdep.h \ ppc-linux-tdep.h \
ppc-nbsd-tdep.h \ ppc-netbsd-tdep.h \
ppc-obsd-tdep.h \ ppc-obsd-tdep.h \
ppc-ravenscar-thread.h \ ppc-ravenscar-thread.h \
ppc-tdep.h \ ppc-tdep.h \
@@ -2124,7 +2124,7 @@ ALLDEPFILES = \
alpha-linux-nat.c \ alpha-linux-nat.c \
alpha-linux-tdep.c \ alpha-linux-tdep.c \
alpha-mdebug-tdep.c \ alpha-mdebug-tdep.c \
alpha-nbsd-tdep.c \ alpha-netbsd-tdep.c \
alpha-obsd-tdep.c \ alpha-obsd-tdep.c \
alpha-tdep.c \ alpha-tdep.c \
amd64-bsd-nat.c \ amd64-bsd-nat.c \
@@ -2135,8 +2135,8 @@ ALLDEPFILES = \
amd64-linux-nat.c \ amd64-linux-nat.c \
amd64-linux-tdep.c \ amd64-linux-tdep.c \
amd64-nat.c \ amd64-nat.c \
amd64-nbsd-nat.c \ amd64-netbsd-nat.c \
amd64-nbsd-tdep.c \ amd64-netbsd-tdep.c \
amd64-obsd-nat.c \ amd64-obsd-nat.c \
amd64-obsd-tdep.c \ amd64-obsd-tdep.c \
amd64-sol2-tdep.c \ amd64-sol2-tdep.c \
@@ -2150,8 +2150,8 @@ ALLDEPFILES = \
arm-linux.c \ arm-linux.c \
arm-linux-nat.c \ arm-linux-nat.c \
arm-linux-tdep.c \ arm-linux-tdep.c \
arm-nbsd-nat.c \ arm-netbsd-nat.c \
arm-nbsd-tdep.c \ arm-netbsd-tdep.c \
arm-obsd-tdep.c \ arm-obsd-tdep.c \
arm-symbian-tdep.c \ arm-symbian-tdep.c \
arm-tdep.c \ arm-tdep.c \
@@ -2175,8 +2175,8 @@ ALLDEPFILES = \
hppa-bsd-tdep.c \ hppa-bsd-tdep.c \
hppa-linux-nat.c \ hppa-linux-nat.c \
hppa-linux-tdep.c \ hppa-linux-tdep.c \
hppa-nbsd-nat.c \ hppa-netbsd-nat.c \
hppa-nbsd-tdep.c \ hppa-netbsd-tdep.c \
hppa-obsd-nat.c \ hppa-obsd-nat.c \
hppa-obsd-tdep.c \ hppa-obsd-tdep.c \
hppa-tdep.c \ hppa-tdep.c \
@@ -2191,8 +2191,8 @@ ALLDEPFILES = \
i386-gnu-tdep.c \ i386-gnu-tdep.c \
i386-linux-nat.c \ i386-linux-nat.c \
i386-linux-tdep.c \ i386-linux-tdep.c \
i386-nbsd-nat.c \ i386-netbsd-nat.c \
i386-nbsd-tdep.c \ i386-netbsd-tdep.c \
i386-obsd-nat.c \ i386-obsd-nat.c \
i386-obsd-tdep.c \ i386-obsd-tdep.c \
i386-sol2-nat.c \ i386-sol2-nat.c \
@@ -2226,15 +2226,15 @@ ALLDEPFILES = \
mips-fbsd-tdep.c \ mips-fbsd-tdep.c \
mips-linux-nat.c \ mips-linux-nat.c \
mips-linux-tdep.c \ mips-linux-tdep.c \
mips-nbsd-nat.c \ mips-netbsd-nat.c \
mips-nbsd-tdep.c \ mips-netbsd-tdep.c \
mips-sde-tdep.c \ mips-sde-tdep.c \
mips-tdep.c \ mips-tdep.c \
mips64-obsd-nat.c \ mips64-obsd-nat.c \
mips64-obsd-tdep.c \ mips64-obsd-tdep.c \
msp430-tdep.c \ msp430-tdep.c \
nbsd-nat.c \ netbsd-nat.c \
nbsd-tdep.c \ netbsd-tdep.c \
nds32-tdep.c \ nds32-tdep.c \
nios2-linux-tdep.c \ nios2-linux-tdep.c \
nios2-tdep.c \ nios2-tdep.c \
@@ -2245,8 +2245,8 @@ ALLDEPFILES = \
ppc-fbsd-tdep.c \ ppc-fbsd-tdep.c \
ppc-linux-nat.c \ ppc-linux-nat.c \
ppc-linux-tdep.c \ ppc-linux-tdep.c \
ppc-nbsd-nat.c \ ppc-netbsd-nat.c \
ppc-nbsd-tdep.c \ ppc-netbsd-tdep.c \
ppc-obsd-nat.c \ ppc-obsd-nat.c \
ppc-obsd-tdep.c \ ppc-obsd-tdep.c \
ppc-ravenscar-thread.c \ ppc-ravenscar-thread.c \
@@ -2275,8 +2275,8 @@ ALLDEPFILES = \
ser-pipe.c \ ser-pipe.c \
ser-tcp.c \ ser-tcp.c \
ser-uds.c \ ser-uds.c \
sh-nbsd-nat.c \ sh-netbsd-nat.c \
sh-nbsd-tdep.c \ sh-netbsd-tdep.c \
sh-tdep.c \ sh-tdep.c \
sol2-tdep.c \ sol2-tdep.c \
solib-aix.c \ solib-aix.c \
@@ -2284,8 +2284,8 @@ ALLDEPFILES = \
sparc-linux-nat.c \ sparc-linux-nat.c \
sparc-linux-tdep.c \ sparc-linux-tdep.c \
sparc-nat.c \ sparc-nat.c \
sparc-nbsd-nat.c \ sparc-netbsd-nat.c \
sparc-nbsd-tdep.c \ sparc-netbsd-tdep.c \
sparc-obsd-tdep.c \ sparc-obsd-tdep.c \
sparc-ravenscar-thread.c \ sparc-ravenscar-thread.c \
sparc-sol2-nat.c \ sparc-sol2-nat.c \
@@ -2296,8 +2296,8 @@ ALLDEPFILES = \
sparc64-linux-nat.c \ sparc64-linux-nat.c \
sparc64-linux-tdep.c \ sparc64-linux-tdep.c \
sparc64-nat.c \ sparc64-nat.c \
sparc64-nbsd-nat.c \ sparc64-netbsd-nat.c \
sparc64-nbsd-tdep.c \ sparc64-netbsd-tdep.c \
sparc64-obsd-nat.c \ sparc64-obsd-nat.c \
sparc64-obsd-tdep.c \ sparc64-obsd-tdep.c \
sparc64-sol2-tdep.c \ sparc64-sol2-tdep.c \
@@ -2307,7 +2307,7 @@ ALLDEPFILES = \
tilegx-tdep.c \ tilegx-tdep.c \
v850-tdep.c \ v850-tdep.c \
vax-bsd-nat.c \ vax-bsd-nat.c \
vax-nbsd-tdep.c \ vax-netbsd-tdep.c \
vax-tdep.c \ vax-tdep.c \
windows-nat.c \ windows-nat.c \
windows-tdep.c \ windows-tdep.c \

View File

@@ -26,7 +26,7 @@
#include "alpha-tdep.h" #include "alpha-tdep.h"
#include "alpha-bsd-tdep.h" #include "alpha-bsd-tdep.h"
#include "inf-ptrace.h" #include "inf-ptrace.h"
#include "nbsd-nat.h" #include "netbsd-nat.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/ptrace.h> #include <sys/ptrace.h>

View File

@@ -31,7 +31,7 @@ void alphabsd_supply_fpreg (struct regcache *, const char *, int);
void alphabsd_fill_fpreg (const struct regcache *, char *, int); void alphabsd_fill_fpreg (const struct regcache *, char *, int);
/* Functions exported from alpha-nbsd-tdep.c. */ /* Functions exported from alpha-netbsd-tdep.c. */
/* Iterate over supported core file register note sections. */ /* Iterate over supported core file register note sections. */
void alphanbsd_iterate_over_regset_sections (struct gdbarch *gdbarch, void alphanbsd_iterate_over_regset_sections (struct gdbarch *gdbarch,

View File

@@ -29,7 +29,7 @@
#include "alpha-tdep.h" #include "alpha-tdep.h"
#include "alpha-bsd-tdep.h" #include "alpha-bsd-tdep.h"
#include "nbsd-tdep.h" #include "netbsd-tdep.h"
#include "solib-svr4.h" #include "solib-svr4.h"
#include "target.h" #include "target.h"

View File

@@ -20,7 +20,7 @@
#include "defs.h" #include "defs.h"
#include "target.h" #include "target.h"
#include "nbsd-nat.h" #include "netbsd-nat.h"
#include "amd64-tdep.h" #include "amd64-tdep.h"
#include "amd64-bsd-nat.h" #include "amd64-bsd-nat.h"
#include "amd64-nat.h" #include "amd64-nat.h"

View File

@@ -26,7 +26,7 @@
#include "amd64-tdep.h" #include "amd64-tdep.h"
#include "gdbsupport/x86-xstate.h" #include "gdbsupport/x86-xstate.h"
#include "nbsd-tdep.h" #include "netbsd-tdep.h"
#include "solib-svr4.h" #include "solib-svr4.h"
/* Support for signal handlers. */ /* Support for signal handlers. */

View File

@@ -139,7 +139,7 @@ extern const struct regset amd64_fpregset;
/* Variables exported from amd64-linux-tdep.c. */ /* Variables exported from amd64-linux-tdep.c. */
extern int amd64_linux_gregset_reg_offset[]; 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[]; extern int amd64nbsd_r_reg_offset[];
/* Variables exported from amd64-obsd-tdep.c. */ /* Variables exported from amd64-obsd-tdep.c. */

View File

@@ -31,10 +31,10 @@
#include <machine/frame.h> #include <machine/frame.h>
#include "arm-tdep.h" #include "arm-tdep.h"
#include "arm-nbsd-tdep.h" #include "arm-netbsd-tdep.h"
#include "aarch32-tdep.h" #include "aarch32-tdep.h"
#include "inf-ptrace.h" #include "inf-ptrace.h"
#include "nbsd-nat.h" #include "netbsd-nat.h"
class arm_netbsd_nat_target final : public nbsd_nat_target class arm_netbsd_nat_target final : public nbsd_nat_target
{ {

View File

@@ -21,8 +21,8 @@
#include "osabi.h" #include "osabi.h"
#include "arch/arm.h" #include "arch/arm.h"
#include "arm-nbsd-tdep.h" #include "arm-netbsd-tdep.h"
#include "nbsd-tdep.h" #include "netbsd-tdep.h"
#include "arm-tdep.h" #include "arm-tdep.h"
#include "regset.h" #include "regset.h"
#include "solib-svr4.h" #include "solib-svr4.h"

View File

@@ -338,20 +338,20 @@ case ${gdb_host} in
;; ;;
mips) mips)
# Host: NetBSD/mips # Host: NetBSD/mips
NATDEPFILES="${NATDEPFILES} mips-nbsd-nat.o" NATDEPFILES="${NATDEPFILES} mips-netbsd-nat.o"
;; ;;
pa) pa)
# Host: NetBSD/hppa # Host: NetBSD/hppa
NATDEPFILES="${NATDEPFILES} nbsd-nat.o hppa-nbsd-nat.o" NATDEPFILES="${NATDEPFILES} netbsd-nat.o hppa-netbsd-nat.o"
;; ;;
powerpc) powerpc)
# Host: NetBSD/powerpc # Host: NetBSD/powerpc
NATDEPFILES="${NATDEPFILES} ppc-nbsd-nat.o bsd-kvm.o" NATDEPFILES="${NATDEPFILES} ppc-netbsd-nat.o bsd-kvm.o"
LOADLIBES='-lkvm' LOADLIBES='-lkvm'
;; ;;
sh) sh)
# Host: NetBSD/sh # Host: NetBSD/sh
NATDEPFILES="${NATDEPFILES} sh-nbsd-nat.o" NATDEPFILES="${NATDEPFILES} sh-netbsd-nat.o"
;; ;;
esac esac
@@ -360,12 +360,12 @@ case ${gdb_host} in
case ${gdb_host_cpu} in case ${gdb_host_cpu} in
i386) i386)
# Host: NetBSD/amd64 # Host: NetBSD/amd64
NATDEPFILES="${NATDEPFILES} nbsd-nat.o amd64-nat.o x86-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-nbsd-nat.o" nat/x86-dregs.o x86-bsd-nat.o amd64-bsd-nat.o amd64-netbsd-nat.o"
;; ;;
sparc) sparc)
# Host: NetBSD/sparc64 # Host: NetBSD/sparc64
NATDEPFILES="${NATDEPFILES} sparc64-nbsd-nat.o sparc-nat.o \ NATDEPFILES="${NATDEPFILES} sparc64-netbsd-nat.o sparc-nat.o \
bsd-kvm.o" bsd-kvm.o"
LOADLIBES='-lkvm' LOADLIBES='-lkvm'
;; ;;
@@ -376,13 +376,13 @@ case ${gdb_host} in
case ${gdb_host_cpu} in case ${gdb_host_cpu} in
arm) arm)
# Host: NetBSD/arm # Host: NetBSD/arm
NATDEPFILES="${NATDEPFILES} arm-nbsd-nat.o" NATDEPFILES="${NATDEPFILES} arm-netbsd-nat.o"
;; ;;
i386) i386)
# Host: NetBSD/i386 ELF # Host: NetBSD/i386 ELF
NATDEPFILES="${NATDEPFILES} nbsd-nat.o x86-nat.o \ NATDEPFILES="${NATDEPFILES} netbsd-nat.o x86-nat.o \
nat/x86-dregs.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' LOADLIBES='-lkvm'
;; ;;
m68k) m68k)
@@ -392,7 +392,7 @@ case ${gdb_host} in
;; ;;
sparc) sparc)
# Host: NetBSD/sparc ELF # 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" bsd-kvm.o"
LOADLIBES='-lkvm' LOADLIBES='-lkvm'
;; ;;

View File

@@ -138,12 +138,12 @@ alpha*-*-linux*)
alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu) alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
# Target: NetBSD/alpha # Target: NetBSD/alpha
gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \ gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \
alpha-nbsd-tdep.o" alpha-netbsd-tdep.o"
;; ;;
alpha*-*-openbsd*) alpha*-*-openbsd*)
# Target: OpenBSD/alpha # Target: OpenBSD/alpha
gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \ 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*) am33_2.0*-*-linux*)
@@ -177,7 +177,7 @@ arm*-*-freebsd*)
;; ;;
arm*-*-netbsd* | arm*-*-knetbsd*-gnu) arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
# Target: NetBSD/arm # Target: NetBSD/arm
gdb_target_obs="arm-nbsd-tdep.o" gdb_target_obs="arm-netbsd-tdep.o"
;; ;;
arm*-*-openbsd*) arm*-*-openbsd*)
# Target: OpenBSD/arm # Target: OpenBSD/arm
@@ -256,7 +256,7 @@ hppa*-*-linux*)
;; ;;
hppa*-*-netbsd*) hppa*-*-netbsd*)
# Target: NetBSD/hppa # 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*) hppa*-*-openbsd*)
# Target: OpenBSD/hppa # 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) i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
# Target: NetBSD/i386 # 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*) i[34567]86-*-openbsd*)
# Target: OpenBSD/i386 # Target: OpenBSD/i386
@@ -418,7 +418,7 @@ mips*-*-linux*)
;; ;;
mips*-*-netbsd* | mips*-*-knetbsd*-gnu) mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
# Target: MIPS running NetBSD # 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 gdb_sim=../sim/mips/libsim.a
;; ;;
mips*-*-freebsd*) mips*-*-freebsd*)
@@ -495,7 +495,7 @@ powerpc*-*-freebsd*)
powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu) powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
# Target: NetBSD/powerpc # 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" ravenscar-thread.o ppc-ravenscar-thread.o"
gdb_sim=../sim/ppc/libsim.a gdb_sim=../sim/ppc/libsim.a
;; ;;
@@ -581,12 +581,12 @@ sh*-*-linux*)
;; ;;
sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu) sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
# Target: NetBSD/sh # 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 gdb_sim=../sim/sh/libsim.a
;; ;;
sh*-*-openbsd*) sh*-*-openbsd*)
# Target: OpenBSD/sh # Target: OpenBSD/sh
gdb_target_obs="sh-tdep.o sh-nbsd-tdep.o" gdb_target_obs="sh-tdep.o sh-netbsd-tdep.o"
;; ;;
sh*) sh*)
# Target: Embedded Renesas Super-H processor # Target: Embedded Renesas Super-H processor
@@ -620,25 +620,25 @@ sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
;; ;;
sparc-*-netbsd* | sparc-*-knetbsd*-gnu) sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
# Target: NetBSD/sparc # 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" ravenscar-thread.o sparc-ravenscar-thread.o"
;; ;;
sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu) sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
# Target: NetBSD/sparc64 # Target: NetBSD/sparc64
gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc-tdep.o \ gdb_target_obs="sparc64-tdep.o sparc64-netbsd-tdep.o sparc-tdep.o \
sparc-nbsd-tdep.o \ sparc-netbsd-tdep.o \
ravenscar-thread.o sparc-ravenscar-thread.o" ravenscar-thread.o sparc-ravenscar-thread.o"
;; ;;
sparc-*-openbsd*) sparc-*-openbsd*)
# Target: OpenBSD/sparc # 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 \ nbsd-tdep.o bsd-uthread.o \
ravenscar-thread.o sparc-ravenscar-thread.o" ravenscar-thread.o sparc-ravenscar-thread.o"
;; ;;
sparc64-*-openbsd*) sparc64-*-openbsd*)
# Target: OpenBSD/sparc64 # Target: OpenBSD/sparc64
gdb_target_obs="sparc64-tdep.o sparc64-nbsd-tdep.o sparc64-obsd-tdep.o \ gdb_target_obs="sparc64-tdep.o sparc64-netbsd-tdep.o sparc64-obsd-tdep.o \
sparc-tdep.o sparc-nbsd-tdep.o sparc-obsd-tdep.o \ sparc-tdep.o sparc-netbsd-tdep.o sparc-obsd-tdep.o \
nbsd-tdep.o bsd-uthread.o \ nbsd-tdep.o bsd-uthread.o \
ravenscar-thread.o sparc-ravenscar-thread.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) x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
# Target: NetBSD/amd64 # Target: NetBSD/amd64
gdb_target_obs="amd64-nbsd-tdep.o ${i386_tobjs}" gdb_target_obs="amd64-netbsd-tdep.o ${i386_tobjs}"
;; ;;
x86_64-*-openbsd*) x86_64-*-openbsd*)
# Target: OpenBSD/amd64 # Target: OpenBSD/amd64

View File

@@ -28,7 +28,7 @@
#include "hppa-tdep.h" #include "hppa-tdep.h"
#include "inf-ptrace.h" #include "inf-ptrace.h"
#include "nbsd-nat.h" #include "netbsd-nat.h"
class hppa_nbsd_nat_target final : public nbsd_nat_target class hppa_nbsd_nat_target final : public nbsd_nat_target
{ {

View File

@@ -27,7 +27,7 @@
#include "hppa-tdep.h" #include "hppa-tdep.h"
#include "hppa-bsd-tdep.h" #include "hppa-bsd-tdep.h"
#include "nbsd-tdep.h" #include "netbsd-tdep.h"
#include "gdbarch.h" #include "gdbarch.h"
/* From <machine/mcontext.h>. */ /* From <machine/mcontext.h>. */

View File

@@ -31,7 +31,7 @@
#include <machine/frame.h> #include <machine/frame.h>
#include <machine/pcb.h> #include <machine/pcb.h>
#include "nbsd-nat.h" #include "netbsd-nat.h"
#include "bsd-kvm.h" #include "bsd-kvm.h"
static int static int

View File

@@ -30,7 +30,7 @@
#include "i386-tdep.h" #include "i386-tdep.h"
#include "i387-tdep.h" #include "i387-tdep.h"
#include "nbsd-tdep.h" #include "netbsd-tdep.h"
#include "solib-svr4.h" #include "solib-svr4.h"
/* From <machine/reg.h>. */ /* From <machine/reg.h>. */

View File

@@ -30,7 +30,7 @@
#include "m68k-tdep.h" #include "m68k-tdep.h"
#include "inf-ptrace.h" #include "inf-ptrace.h"
#include "nbsd-nat.h" #include "netbsd-nat.h"
struct m68k_bsd_nat_target final : public nbsd_nat_target struct m68k_bsd_nat_target final : public nbsd_nat_target
{ {

View File

@@ -29,7 +29,7 @@
#include <machine/reg.h> #include <machine/reg.h>
#include "mips-tdep.h" #include "mips-tdep.h"
#include "mips-nbsd-tdep.h" #include "mips-netbsd-tdep.h"
#include "inf-ptrace.h" #include "inf-ptrace.h"
class mips_nbsd_nat_target final : public inf_ptrace_target class mips_nbsd_nat_target final : public inf_ptrace_target

View File

@@ -27,8 +27,8 @@
#include "value.h" #include "value.h"
#include "osabi.h" #include "osabi.h"
#include "nbsd-tdep.h" #include "netbsd-tdep.h"
#include "mips-nbsd-tdep.h" #include "mips-netbsd-tdep.h"
#include "mips-tdep.h" #include "mips-tdep.h"
#include "solib-svr4.h" #include "solib-svr4.h"

View File

@@ -19,10 +19,10 @@
#include "defs.h" #include "defs.h"
#include "nbsd-nat.h" #include "netbsd-nat.h"
#include "nat/netbsd-nat.h" #include "nat/netbsd-nat.h"
#include "gdbthread.h" #include "gdbthread.h"
#include "nbsd-tdep.h" #include "netbsd-tdep.h"
#include "inferior.h" #include "inferior.h"
#include "gdbarch.h" #include "gdbarch.h"

View File

@@ -59,4 +59,4 @@ struct nbsd_nat_target : public inf_ptrace_target
void dumpcore (const char *filename) override; void dumpcore (const char *filename) override;
}; };
#endif /* nbsd-nat.h */ #endif /* netbsd-nat.h */

View File

@@ -22,7 +22,7 @@
#include "defs.h" #include "defs.h"
#include "auxv.h" #include "auxv.h"
#include "solib-svr4.h" #include "solib-svr4.h"
#include "nbsd-tdep.h" #include "netbsd-tdep.h"
#include "gdbarch.h" #include "gdbarch.h"
#include "objfiles.h" #include "objfiles.h"
#include "xml-syscall.h" #include "xml-syscall.h"

View File

@@ -34,10 +34,10 @@
#include "regcache.h" #include "regcache.h"
#include "ppc-tdep.h" #include "ppc-tdep.h"
#include "ppc-nbsd-tdep.h" #include "ppc-netbsd-tdep.h"
#include "bsd-kvm.h" #include "bsd-kvm.h"
#include "inf-ptrace.h" #include "inf-ptrace.h"
#include "nbsd-nat.h" #include "netbsd-nat.h"
struct ppc_nbsd_nat_target final : public nbsd_nat_target struct ppc_nbsd_nat_target final : public nbsd_nat_target
{ {

View File

@@ -28,7 +28,7 @@
#include "tramp-frame.h" #include "tramp-frame.h"
#include "ppc-tdep.h" #include "ppc-tdep.h"
#include "nbsd-tdep.h" #include "netbsd-tdep.h"
#include "ppc-tdep.h" #include "ppc-tdep.h"
#include "solib-svr4.h" #include "solib-svr4.h"
@@ -199,7 +199,7 @@ _initialize_ppcnbsd_tdep ()
ppcnbsd_init_abi); ppcnbsd_init_abi);
/* Avoid initializing the register offsets again if they were /* 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) if (ppcnbsd_reg_offsets.pc_offset == 0)
{ {
/* General-purpose registers. */ /* General-purpose registers. */

View File

@@ -28,7 +28,7 @@
#include "sh-tdep.h" #include "sh-tdep.h"
#include "inf-ptrace.h" #include "inf-ptrace.h"
#include "nbsd-nat.h" #include "netbsd-nat.h"
#include "regcache.h" #include "regcache.h"
struct sh_nbsd_nat_target final : public nbsd_nat_target struct sh_nbsd_nat_target final : public nbsd_nat_target

View File

@@ -26,7 +26,7 @@
#include "osabi.h" #include "osabi.h"
#include "sh-tdep.h" #include "sh-tdep.h"
#include "nbsd-tdep.h" #include "netbsd-tdep.h"
#include "solib-svr4.h" #include "solib-svr4.h"
#include "gdbarch.h" #include "gdbarch.h"

View File

@@ -32,7 +32,7 @@
#include "gdbarch.h" #include "gdbarch.h"
#include "sparc-tdep.h" #include "sparc-tdep.h"
#include "nbsd-tdep.h" #include "netbsd-tdep.h"
/* Macros to extract fields from SPARC instructions. */ /* Macros to extract fields from SPARC instructions. */
#define X_RS1(i) (((i) >> 14) & 0x1f) #define X_RS1(i) (((i) >> 14) & 0x1f)

View File

@@ -31,7 +31,7 @@
#include "trad-frame.h" #include "trad-frame.h"
#include "sparc64-tdep.h" #include "sparc64-tdep.h"
#include "nbsd-tdep.h" #include "netbsd-tdep.h"
/* From <machine/reg.h>. */ /* From <machine/reg.h>. */
const struct sparc_gregmap sparc64nbsd_gregmap = const struct sparc_gregmap sparc64nbsd_gregmap =

View File

@@ -124,7 +124,7 @@ extern const struct sparc_fpregmap sparc64_sol2_fpregmap;
/* Register offsets for FreeBSD/sparc64. */ /* Register offsets for FreeBSD/sparc64. */
extern const struct sparc_gregmap sparc64fbsd_gregmap; 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. */ /* Register offsets for NetBSD/sparc64. */
extern const struct sparc_gregmap sparc64nbsd_gregmap; extern const struct sparc_gregmap sparc64nbsd_gregmap;

View File

@@ -30,7 +30,7 @@
#include "vax-tdep.h" #include "vax-tdep.h"
#include "inf-ptrace.h" #include "inf-ptrace.h"
#include "nbsd-nat.h" #include "netbsd-nat.h"
struct vax_bsd_nat_target final : public nbsd_nat_target struct vax_bsd_nat_target final : public nbsd_nat_target
{ {

View File

@@ -22,7 +22,7 @@
#include "osabi.h" #include "osabi.h"
#include "vax-tdep.h" #include "vax-tdep.h"
#include "nbsd-tdep.h" #include "netbsd-tdep.h"
#include "solib-svr4.h" #include "solib-svr4.h"
/* NetBSD ELF. */ /* NetBSD ELF. */