diff options
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 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. */ |