aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/tm-nto.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-11-14 02:56:34 +0000
committerAndrew Cagney <cagney@redhat.com>2004-11-14 02:56:34 +0000
commita69637bd4004019f832fcf4e8f1fb6d42167880a (patch)
tree98175a53e10e7ff6991992350653d8b695e338e6 /gdb/config/tm-nto.h
parent8851ec7ac2a17dee100645972fa9a39dc3dbc70c (diff)
downloadgdb-a69637bd4004019f832fcf4e8f1fb6d42167880a.zip
gdb-a69637bd4004019f832fcf4e8f1fb6d42167880a.tar.gz
gdb-a69637bd4004019f832fcf4e8f1fb6d42167880a.tar.bz2
2004-11-13 Andrew Cagney <cagney@gnu.org>
* config/tm-sysv4.h: Delete file, inlining contents. * config/ia64/tm-aix.h (SKIP_TRAMPOLINE_CODE): Define. * config/tm-linux.h (SKIP_TRAMPOLINE_CODE): Define. * config/tm-nto.h (SKIP_TRAMPOLINE_CODE): Define.
Diffstat (limited to 'gdb/config/tm-nto.h')
-rw-r--r--gdb/config/tm-nto.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/config/tm-nto.h b/gdb/config/tm-nto.h
index 98494a9..5ca3c06 100644
--- a/gdb/config/tm-nto.h
+++ b/gdb/config/tm-nto.h
@@ -26,7 +26,10 @@
#ifndef _TM_QNXNTO_H
#define _TM_QNXNTO_H
-#include "tm-sysv4.h"
+/* If PC is in a shared library trampoline code, return the PC
+ where the function itself actually starts. If not, return 0. */
+
+#define SKIP_TRAMPOLINE_CODE(pc) find_solib_trampoline_target (pc)
/* Setup the valid realtime signal range. */
#define REALTIME_LO 41