From da8ca43db6929b224561e9367668bbe4d9e604bf Mon Sep 17 00:00:00 2001 From: Jason Thorpe Date: Thu, 25 Apr 2002 02:44:05 +0000 Subject: * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and alphanbsd-tdep.c. (alphanbsd-nat.o): New dependency list. (alphanbsd-tdep.o): Ditto. * NEWS: Note new native NetBSD/alpha configuration. * alphanbsd-nat.c: New file. * alphanbsd-tdep.c: Ditto. * configure.host (alpha*-*-netbsd*): New host. * configure.tgt (alpha*-*-netbsd*): New target. * config/alpha/nbsd.mh: New file. * config/alpha/nbsd.mt: Ditto. * config/alpha/nm-nbsd.h: Ditto. * config/alpha/tm-nbsd.h: Ditto. --- gdb/config/alpha/nbsd.mh | 4 ++++ gdb/config/alpha/nbsd.mt | 3 +++ gdb/config/alpha/nm-nbsd.h | 36 ++++++++++++++++++++++++++++++++++++ gdb/config/alpha/tm-nbsd.h | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 gdb/config/alpha/nbsd.mh create mode 100644 gdb/config/alpha/nbsd.mt create mode 100644 gdb/config/alpha/nm-nbsd.h create mode 100644 gdb/config/alpha/tm-nbsd.h (limited to 'gdb/config/alpha') diff --git a/gdb/config/alpha/nbsd.mh b/gdb/config/alpha/nbsd.mh new file mode 100644 index 0000000..cb9122a --- /dev/null +++ b/gdb/config/alpha/nbsd.mh @@ -0,0 +1,4 @@ +# Host: Alpha running NetBSD +NAT_CLIBS= +NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o alphabsd-nat.o alphanbsd-nat.o solib-legacy.o +NAT_FILE= nm-nbsd.h diff --git a/gdb/config/alpha/nbsd.mt b/gdb/config/alpha/nbsd.mt new file mode 100644 index 0000000..f3a2ff1 --- /dev/null +++ b/gdb/config/alpha/nbsd.mt @@ -0,0 +1,3 @@ +# Target: Alpha running NetBSD +TDEPFILES= alpha-tdep.o alphanbsd-tdep.o solib.o solib-svr4.o +TM_FILE= tm-nbsd.h diff --git a/gdb/config/alpha/nm-nbsd.h b/gdb/config/alpha/nm-nbsd.h new file mode 100644 index 0000000..aab9edf --- /dev/null +++ b/gdb/config/alpha/nm-nbsd.h @@ -0,0 +1,36 @@ +/* Native-dependent definitions for Alpha running NetBSD, for GDB. + Copyright 2002 Free Software Foundation, Inc. + Contributed by Wasabi Systems, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#ifndef NM_NBSD_H +#define NM_NBSD_H + +#define SVR4_SHARED_LIBS + +/* Get generic NetBSD native definitions. */ +#include "config/nm-nbsd.h" + +/* The Alpha does not step over a breakpoint. */ +#define CANNOT_STEP_BREAKPOINT + +/* NetBSD/alpha has shared libraries. */ +#define GDB_TARGET_HAS_SHARED_LIBS + +#endif /* NM_NBSD_H */ diff --git a/gdb/config/alpha/tm-nbsd.h b/gdb/config/alpha/tm-nbsd.h new file mode 100644 index 0000000..9e92656 --- /dev/null +++ b/gdb/config/alpha/tm-nbsd.h @@ -0,0 +1,32 @@ +/* Target-dependent definitions for NetBSD/Alpha. + Copyright 2002 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#ifndef TM_NBSD_H +#define TM_NBSD_H + +#include "alpha/tm-alpha.h" + +/* Number of traps that happen between exec'ing the shell to run an + inferior, and when we finally get to the inferior code. The + default is right for NetBSD. */ + +#undef START_INFERIOR_TRAPS_EXPECTED + +#endif /* TM_NBSD_H */ -- cgit v1.1