diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-11-06 11:02:12 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-11-06 11:02:12 +0000 |
commit | c12260ac385cffb6c60330b62a789a4fad9f52a1 (patch) | |
tree | 5ffbe71a86f4cb4f586708895cb14e10e224c76c /gdb/arch-utils.h | |
parent | 9e5abb068c86f04dcdd5ca82068caad4785c3a85 (diff) | |
download | gdb-c12260ac385cffb6c60330b62a789a4fad9f52a1.zip gdb-c12260ac385cffb6c60330b62a789a4fad9f52a1.tar.gz gdb-c12260ac385cffb6c60330b62a789a4fad9f52a1.tar.bz2 |
* arch-utils.c (generic_in_function_epilogue_p): New function.
* arch-utils.h (generic_in_function_epilogue_p): Declare extern.
* breakpoint.c (watchpoint_check): Add test whether the pc is
currently in the epilogue of a function.
* gdbarch.c: Autogenerated from gdbarch.sh.
* gdbarch.h: Ditto.
* gdbarch.sh (function_list): Add `in_function_epilogue_p' definition.
Diffstat (limited to 'gdb/arch-utils.h')
-rw-r--r-- | gdb/arch-utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h index 92fee9c..5dec3c2 100644 --- a/gdb/arch-utils.h +++ b/gdb/arch-utils.h @@ -134,4 +134,6 @@ extern CORE_ADDR generic_skip_trampoline_code (CORE_ADDR pc); extern int generic_in_solib_call_trampoline (CORE_ADDR pc, char *name); +extern int generic_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc); + #endif |