summaryrefslogtreecommitdiff
path: root/gdb/config/m68k
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-04-30 23:28:52 +0000
committerMark Kettenis <kettenis@gnu.org>2004-04-30 23:28:52 +0000
commit5bd15c107c192c4fbd872c7cacd07e89c5b4eaa2 (patch)
treee6541236c51cb9f141c6267e2e21006285438307 /gdb/config/m68k
parent0f935c4068d35bab21d8823452bcf754a7ed1b51 (diff)
downloadgdb-5bd15c107c192c4fbd872c7cacd07e89c5b4eaa2.tar.gz
Add OpenBSD/m68k support.
* NEWS (New native configurations): Mention OpenBSD/m68k. * m68kbsd-tdep.c: New file. * m68kbsd-nat.c: New file. * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c. (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies. * configure.host: Add m68k-*-openbsd. * configure.tgt: Add m68k-*-openbsd. * config/m68k/tm-obsd.h: New file. * config/m68k/obsd.mt: New file. * config/m68k/obsd.mh: New file. * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and m68kbsd-tdep.c.
Diffstat (limited to 'gdb/config/m68k')
-rw-r--r--gdb/config/m68k/obsd.mh4
-rw-r--r--gdb/config/m68k/obsd.mt3
-rw-r--r--gdb/config/m68k/tm-obsd.h27
3 files changed, 34 insertions, 0 deletions
diff --git a/gdb/config/m68k/obsd.mh b/gdb/config/m68k/obsd.mh
new file mode 100644
index 00000000000..e1885387080
--- /dev/null
+++ b/gdb/config/m68k/obsd.mh
@@ -0,0 +1,4 @@
+# Host: OpenBSD/m68k
+NATDEPFILES= m68kbsd-nat.o fork-child.o infptrace.o inftarg.o \
+ solib.o solib-sunos.o
+NAT_FILE= nm-nbsdaout.h
diff --git a/gdb/config/m68k/obsd.mt b/gdb/config/m68k/obsd.mt
new file mode 100644
index 00000000000..7021c7f60ce
--- /dev/null
+++ b/gdb/config/m68k/obsd.mt
@@ -0,0 +1,3 @@
+# Target: OpenBSD/m68k
+TDEPFILES= m68k-tdep.o m68kbsd-tdep.o corelow.o solib.o solib-svr4.o
+TM_FILE= tm-obsd.h
diff --git a/gdb/config/m68k/tm-obsd.h b/gdb/config/m68k/tm-obsd.h
new file mode 100644
index 00000000000..993b49ed69c
--- /dev/null
+++ b/gdb/config/m68k/tm-obsd.h
@@ -0,0 +1,27 @@
+/* Target-dependent definitions for OpenBSD/m68k.
+
+ Copyright 2004 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_OBSD_H
+#define TM_OBSD_H
+
+#include "solib.h"
+
+#endif /* tm-obsd.h */