diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-09-13 23:21:45 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-09-13 23:21:45 +0000 |
commit | e76cff22f1fca12ce2a57e1782031b5eb07da6b3 (patch) | |
tree | 97d90daf09d1d1c9c605c35446f90e308b9dbb59 /gdb/gdbarch.c | |
parent | 905abb3f14417c53440d68bc2fb94a187c71bc05 (diff) | |
download | gdb-e76cff22f1fca12ce2a57e1782031b5eb07da6b3.zip gdb-e76cff22f1fca12ce2a57e1782031b5eb07da6b3.tar.gz gdb-e76cff22f1fca12ce2a57e1782031b5eb07da6b3.tar.bz2 |
2002-09-13 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (SIGTRAMP_END): Change to a predicate function.
* gdbarch.h, gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index c0b0b3a..5766751 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -794,7 +794,7 @@ verify_gdbarch (struct gdbarch *gdbarch) /* Skip verify of in_solib_return_trampoline, invalid_p == 0 */ /* Skip verify of pc_in_sigtramp, invalid_p == 0 */ /* Skip verify of sigtramp_start, has predicate */ - /* Skip verify of sigtramp_end, invalid_p == 0 */ + /* Skip verify of sigtramp_end, has predicate */ /* Skip verify of in_function_epilogue_p, invalid_p == 0 */ /* Skip verify of construct_inferior_arguments, invalid_p == 0 */ /* Skip verify of dwarf2_build_frame_info, has predicate */ @@ -4846,6 +4846,13 @@ set_gdbarch_sigtramp_start (struct gdbarch *gdbarch, gdbarch->sigtramp_start = sigtramp_start; } +int +gdbarch_sigtramp_end_p (struct gdbarch *gdbarch) +{ + gdb_assert (gdbarch != NULL); + return gdbarch->sigtramp_end != 0; +} + CORE_ADDR gdbarch_sigtramp_end (struct gdbarch *gdbarch, CORE_ADDR pc) { |