aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386/tm-linux.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2000-03-08 22:34:19 +0000
committerMark Kettenis <kettenis@gnu.org>2000-03-08 22:34:19 +0000
commit4cc24188905500812f6951ff67f1799c57c7c858 (patch)
tree78e5c44220f5c0e4bc3016ef1a9717e9dbb7ac6b /gdb/config/i386/tm-linux.h
parente88acae7927b1144822572406f0ba9540e41e341 (diff)
downloadgdb-4cc24188905500812f6951ff67f1799c57c7c858.zip
gdb-4cc24188905500812f6951ff67f1799c57c7c858.tar.gz
gdb-4cc24188905500812f6951ff67f1799c57c7c858.tar.bz2
2000-03-08 Mark Kettenis <kettenis@gnu.org>
* i386-tdep.c (i386_linux_saved_pc_after_call): New function. * config/i386/tm-linux.h (SAVED_PC_AFTER_CALL): Define to call i386_linux_saved_pc_after_call.
Diffstat (limited to 'gdb/config/i386/tm-linux.h')
-rw-r--r--gdb/config/i386/tm-linux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/config/i386/tm-linux.h b/gdb/config/i386/tm-linux.h
index 391d5c0..3c557f0 100644
--- a/gdb/config/i386/tm-linux.h
+++ b/gdb/config/i386/tm-linux.h
@@ -154,6 +154,10 @@ extern CORE_ADDR i386_linux_sigtramp_saved_pc (struct frame_info *);
extern CORE_ADDR i386_linux_sigtramp_saved_sp (struct frame_info *);
+#undef SAVED_PC_AFTER_CALL
+#define SAVED_PC_AFTER_CALL(frame) i386_linux_saved_pc_after_call (frame)
+extern CORE_ADDR i386_linux_saved_pc_after_call (struct frame_info *);
+
/* When we call a function in a shared library, and the PLT sends us
into the dynamic linker to find the function's real address, we
need to skip over the dynamic linker call. This function decides