aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>2001-01-17 23:07:15 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>2001-01-17 23:07:15 +0000
commit6259c7e28d3ba78993c89c56eb48d8c0801f372a (patch)
tree237bea359f6156d55dcf65025005936f80f70433 /gdb/config
parent6be0ca9435e428a36715dcae17ac27c8f06a65e8 (diff)
downloadgdb-6259c7e28d3ba78993c89c56eb48d8c0801f372a.zip
gdb-6259c7e28d3ba78993c89c56eb48d8c0801f372a.tar.gz
gdb-6259c7e28d3ba78993c89c56eb48d8c0801f372a.tar.bz2
* config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
* config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o. * m68knbsd-tdep.c: New file. * i386nbsd-tdep.c: Remove #if 0'd out #includes. * m68knbsd-nat.c: #include gdbcore.h.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/m68k/nbsd.mt2
-rw-r--r--gdb/config/m68k/tm-nbsd.h8
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/config/m68k/nbsd.mt b/gdb/config/m68k/nbsd.mt
index ce5e4ee..fabc84b 100644
--- a/gdb/config/m68k/nbsd.mt
+++ b/gdb/config/m68k/nbsd.mt
@@ -1,5 +1,5 @@
# Target: Motorola m68k running NetBSD
-TDEPFILES= m68k-tdep.o solib.o solib-svr4.o
+TDEPFILES= m68k-tdep.o m68knbsd-tdep.o solib.o solib-svr4.o
TM_FILE= tm-nbsd.h
GDBSERVER_DEPFILES= low-nbsd.o
diff --git a/gdb/config/m68k/tm-nbsd.h b/gdb/config/m68k/tm-nbsd.h
index fa89417..c77027c 100644
--- a/gdb/config/m68k/tm-nbsd.h
+++ b/gdb/config/m68k/tm-nbsd.h
@@ -26,8 +26,8 @@
/* 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
+#define BPT_VECTOR 0xf
+#define REMOTE_BPT_VECTOR 0xf
/* Address of end of stack space. */
#define STACK_END_ADDR USRSTACK
@@ -39,4 +39,8 @@
#include "m68k/tm-m68k.h"
#include "tm-nbsd.h"
+extern use_struct_convention_fn m68knbsd_use_struct_convention;
+#define USE_STRUCT_CONVENTION(gcc_p, type) \
+ m68knbsd_use_struct_convention(gcc_p, type)
+
#endif /* TM_NBSD_H */