summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb/config/m68k/tm-obsd.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-22 11:56:37 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-22 11:56:37 +0000
commit54f47fb11e6bd0e3688210596a6ceddf40627226 (patch)
treeee27f7a7891805f8f058c138fce402e9c2ccb495 /gnu/usr.bin/binutils/gdb/config/m68k/tm-obsd.h
parent9829b1b4ae554ebeee4d394192317bbf33fdb8ec (diff)
Add rudimentary config files for architectures that still use the old gdb
Diffstat (limited to 'gnu/usr.bin/binutils/gdb/config/m68k/tm-obsd.h')
-rw-r--r--gnu/usr.bin/binutils/gdb/config/m68k/tm-obsd.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/gdb/config/m68k/tm-obsd.h b/gnu/usr.bin/binutils/gdb/config/m68k/tm-obsd.h
new file mode 100644
index 00000000000..f24e530edc1
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/m68k/tm-obsd.h
@@ -0,0 +1,41 @@
+/* Macro definitions for i386 running under OpenBSD.
+ Copyright 1994 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 <sys/param.h>
+#include <machine/vmparam.h>
+
+/* Define BPT_VECTOR if it is different than the default.
+ This is the vector number used by traps to indicate a breakpoint. */
+
+#define BPT_VECTOR 0x2
+
+/* Address of end of stack space. */
+#define STACK_END_ADDR USRSTACK
+
+/* For OpenBSD, sigtramp is 32 bytes before STACK_END_ADDR. */
+#define SIGTRAMP_START(pc) (STACK_END_ADDR - 32)
+#define SIGTRAMP_END(pc) (STACK_END_ADDR)
+
+#include "m68k/tm-m68k.h"
+#include "tm-obsd.h"
+
+#endif /* TM_OBSD_H */