aboutsummaryrefslogtreecommitdiff
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
commit8f2d3ea0006e69b704208e27f31171c135a6e473 (patch)
treededdc5745c7b13b7654fb8987bb86362dbbaf8b1 /gdb/config/m68k
parentc40f49a4cd5125955faee6a98c692e40d12793bb (diff)
downloadgdb-8f2d3ea0006e69b704208e27f31171c135a6e473.zip
gdb-8f2d3ea0006e69b704208e27f31171c135a6e473.tar.gz
gdb-8f2d3ea0006e69b704208e27f31171c135a6e473.tar.bz2
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 0000000..e188538
--- /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 0000000..7021c7f
--- /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 0000000..993b49e
--- /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 */