aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/tm-nbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/tm-nbsd.h')
-rw-r--r--gdb/config/tm-nbsd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/config/tm-nbsd.h b/gdb/config/tm-nbsd.h
index e8701be..d002d6b 100644
--- a/gdb/config/tm-nbsd.h
+++ b/gdb/config/tm-nbsd.h
@@ -18,3 +18,12 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+
+#ifndef SVR4_SHARED_LIBS
+
+/* Return non-zero if we are in a shared library trampoline code stub. */
+
+#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) \
+ (name && !strcmp(name, "_DYNAMIC"))
+
+#endif /* !SVR4_SHARED_LIBS */