diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-11-14 02:56:34 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-11-14 02:56:34 +0000 |
commit | a69637bd4004019f832fcf4e8f1fb6d42167880a (patch) | |
tree | 98175a53e10e7ff6991992350653d8b695e338e6 /gdb/config/tm-linux.h | |
parent | 8851ec7ac2a17dee100645972fa9a39dc3dbc70c (diff) | |
download | gdb-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-linux.h')
-rw-r--r-- | gdb/config/tm-linux.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/config/tm-linux.h b/gdb/config/tm-linux.h index 2ee2acd..942995f 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. */ |