aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k/tm-nbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/m68k/tm-nbsd.h')
-rw-r--r--gdb/config/m68k/tm-nbsd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/config/m68k/tm-nbsd.h b/gdb/config/m68k/tm-nbsd.h
index 354632a..62f008c 100644
--- a/gdb/config/m68k/tm-nbsd.h
+++ b/gdb/config/m68k/tm-nbsd.h
@@ -37,7 +37,10 @@
#define SIGTRAMP_END(pc) (STACK_END_ADDR)
#include "m68k/tm-m68k.h"
-#include "tm-nbsd.h"
+
+/* Return non-zero if we are in a shared library trampoline code stub. */
+#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) \
+ (name && !strcmp(name, "_DYNAMIC"))
extern use_struct_convention_fn m68knbsd_use_struct_convention;
#define USE_STRUCT_CONVENTION(gcc_p, type) \