aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k/tm-nbsd.h
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/m68k/tm-nbsd.h
parent6be0ca9435e428a36715dcae17ac27c8f06a65e8 (diff)
downloadfsf-binutils-gdb-6259c7e28d3ba78993c89c56eb48d8c0801f372a.zip
fsf-binutils-gdb-6259c7e28d3ba78993c89c56eb48d8c0801f372a.tar.gz
fsf-binutils-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/m68k/tm-nbsd.h')
-rw-r--r--gdb/config/m68k/tm-nbsd.h8
1 files changed, 6 insertions, 2 deletions
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 */