summaryrefslogtreecommitdiff
path: root/gdb/config/tm-linux.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
commita2dd62897785fee0db8d676dcd10fd6b38515dd0 (patch)
tree3282745b5b38987aafe48fcf6923dc36cf8cc3df /gdb/config/tm-linux.h
parent8f1f98c019b66cef01a66cebc12caeda2fe8d657 (diff)
downloadgdb-a2dd62897785fee0db8d676dcd10fd6b38515dd0.tar.gz
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-linux.h')
-rw-r--r--gdb/config/tm-linux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/config/tm-linux.h b/gdb/config/tm-linux.h
index 2ee2acd786b..942995fe6bf 100644
--- a/gdb/config/tm-linux.h
+++ b/gdb/config/tm-linux.h
@@ -30,6 +30,9 @@
/* We need this file for the SOLIB_TRAMPOLINE stuff. */
-#include "config/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)
#include "solib.h" /* Support for shared libraries. */