aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-05-08 15:29:36 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-05-08 15:29:36 +0000
commit13a38d4599fb310f85991d93967759d2d8c6f9c1 (patch)
treeea9c9f2814012194b3719a338050bf4fc5e4adb4 /gdb/config
parentd658f92455f2ea77eb2c9723ecfbc235c40df6c0 (diff)
downloadgdb-13a38d4599fb310f85991d93967759d2d8c6f9c1.zip
gdb-13a38d4599fb310f85991d93967759d2d8c6f9c1.tar.gz
gdb-13a38d4599fb310f85991d93967759d2d8c6f9c1.tar.bz2
* NEWS: Note new sh*-*-netbsdelf* configuration.
* configure.host: Set gdb_host_cpu to sh for all sh*. (sh*-*-netbsdelf*): New host. * configure.tgt: Set gdb_target_cpu to sh for all sh*. (sh*-*-netbsdelf*): New target. * sh-nbsd-nat.c: New file. * sh-nbsd-tdep.c: New file. * sh-nbsd-tdep.h: New file. * config/sh/nbsd.mh: New file. * config/sh/nbsd.mt: New file. * config/sh/nm-nbsd.h: New file. * config/sh/tm-nbsd.h: New file.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/sh/nbsd.mh4
-rw-r--r--gdb/config/sh/nbsd.mt6
-rw-r--r--gdb/config/sh/nm-nbsd.h28
-rw-r--r--gdb/config/sh/tm-nbsd.h28
4 files changed, 66 insertions, 0 deletions
diff --git a/gdb/config/sh/nbsd.mh b/gdb/config/sh/nbsd.mh
new file mode 100644
index 0000000..2404026
--- /dev/null
+++ b/gdb/config/sh/nbsd.mh
@@ -0,0 +1,4 @@
+# Host: SuperH running NetBSD
+NAT_CLIBS=
+NATDEPFILES= infptrace.o inftarg.o fork-child.o sh-nbsd-nat.o
+NAT_FILE= nm-nbsd.h
diff --git a/gdb/config/sh/nbsd.mt b/gdb/config/sh/nbsd.mt
new file mode 100644
index 0000000..1bece84
--- /dev/null
+++ b/gdb/config/sh/nbsd.mt
@@ -0,0 +1,6 @@
+# Target: SuperH running NetBSD
+TDEPFILES= sh-tdep.o sh-nbsd-tdep.o corelow.o solib.o solib-svr4.o
+TM_FILE= tm-nbsd.h
+
+SIM_OBS = remote-sim.o
+SIM = ../sim/sh/libsim.a
diff --git a/gdb/config/sh/nm-nbsd.h b/gdb/config/sh/nm-nbsd.h
new file mode 100644
index 0000000..eb38d6b
--- /dev/null
+++ b/gdb/config/sh/nm-nbsd.h
@@ -0,0 +1,28 @@
+/* Native-dependent definitions for SuperH 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
+
+/* Get generic NetBSD native definitions. */
+#include "config/nm-nbsd.h"
+
+#endif /* NM_NBSD_H */
diff --git a/gdb/config/sh/tm-nbsd.h b/gdb/config/sh/tm-nbsd.h
new file mode 100644
index 0000000..37dfe34
--- /dev/null
+++ b/gdb/config/sh/tm-nbsd.h
@@ -0,0 +1,28 @@
+/* Target-dependent definitions for SuperH 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 TM_NBSD_H
+#define TM_NBSD_H
+
+#include "sh/tm-sh.h"
+#include "solib.h"
+
+#endif /* TM_NBSD_H */