aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/pa
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-06-26 10:06:35 +0000
committerMark Kettenis <kettenis@gnu.org>2004-06-26 10:06:35 +0000
commit0e56aeafa8e93c62a52a7b45d90550130285576b (patch)
tree1a7cc78b7adf08e34c32e45dc971a7a511db305b /gdb/config/pa
parentd0618d1c97a6aa1b2f019fc65030fbe43d865cd1 (diff)
downloadgdb-0e56aeafa8e93c62a52a7b45d90550130285576b.zip
gdb-0e56aeafa8e93c62a52a7b45d90550130285576b.tar.gz
gdb-0e56aeafa8e93c62a52a7b45d90550130285576b.tar.bz2
Add OpenBSD/hppa support.
* NEWS (New native configurations): Mention OpenBSD/hppa. * hppabsd-nat.c, hppabsd-tdep.c, config/pa/obsd.mh, config/pa/obsd.mt, config/pa/nm-obsd.h, config/pa/tm-bsd.h: New files. * Makefile.in (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. (hppabsd-nat.o, hppabsd-tdep.c): New dependencies. * configure.host: Add hppa*-*-openbsd*. * configure.tgt: Add hppa*-*-openbsd*.
Diffstat (limited to 'gdb/config/pa')
-rw-r--r--gdb/config/pa/nm-obsd.h28
-rw-r--r--gdb/config/pa/obsd.mh3
-rw-r--r--gdb/config/pa/obsd.mt3
-rw-r--r--gdb/config/pa/tm-bsd.h28
4 files changed, 62 insertions, 0 deletions
diff --git a/gdb/config/pa/nm-obsd.h b/gdb/config/pa/nm-obsd.h
new file mode 100644
index 0000000..ba91594
--- /dev/null
+++ b/gdb/config/pa/nm-obsd.h
@@ -0,0 +1,28 @@
+/* Native-dependent definitions for OpenBSD/hppa.
+
+ 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 NM_OBSD_H
+#define NM_OBSD_H
+
+/* Get generic BSD native definitions. */
+#include "config/nm-bsd.h"
+
+#endif /* nm-obsd.h */
diff --git a/gdb/config/pa/obsd.mh b/gdb/config/pa/obsd.mh
new file mode 100644
index 0000000..bc94246
--- /dev/null
+++ b/gdb/config/pa/obsd.mh
@@ -0,0 +1,3 @@
+# Host: OpenBSD/hppa
+NATDEPFILES= fork-child.o infptrace.o inftarg.o hppabsd-nat.o
+NAT_FILE= nm-obsd.h
diff --git a/gdb/config/pa/obsd.mt b/gdb/config/pa/obsd.mt
new file mode 100644
index 0000000..1b1df18
--- /dev/null
+++ b/gdb/config/pa/obsd.mt
@@ -0,0 +1,3 @@
+# Target: OpenBSD/hppa
+TDEPFILES= hppa-tdep.o hppabsd-tdep.o corelow.o solib.o solib-svr4.o
+TM_FILE= tm-bsd.h
diff --git a/gdb/config/pa/tm-bsd.h b/gdb/config/pa/tm-bsd.h
new file mode 100644
index 0000000..ebd5e9f
--- /dev/null
+++ b/gdb/config/pa/tm-bsd.h
@@ -0,0 +1,28 @@
+/* Target-dependent definitions for HP PA-RISC BSD's.
+
+ 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_BSD_H
+#define TM_BSD_H
+
+/* Shared library support. */
+#include "solib.h"
+
+#endif /* tm-bsd.h */