diff options
author | Randolph Chung <tausq@debian.org> | 2004-05-08 03:17:57 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-05-08 03:17:57 +0000 |
commit | 0da28f8a5836c4e69ae72bf05cbd65800f4bbfd4 (patch) | |
tree | 77b7a2936bf8a8460276989a700123536dcf1aa3 /gdb/hppa-tdep.h | |
parent | * config/djgpp/fnchange.lst: Add translation rules for (diff) | |
download | binutils-gdb-0da28f8a5836c4e69ae72bf05cbd65800f4bbfd4.tar.gz binutils-gdb-0da28f8a5836c4e69ae72bf05cbd65800f4bbfd4.tar.bz2 binutils-gdb-0da28f8a5836c4e69ae72bf05cbd65800f4bbfd4.zip |
2004-05-07 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_prev_register_helper): New function to
do common handling of the pcoqt register.
(hppa_frame_prev_register, hppa_stub_frame_prev_register): Convert
to use helper function.
(hppa_frame_unwind_sniffer): Only use if unwind entry is present.
(hppa_fallback_frame_cache, hppa_fallback_frame_this_id)
(hppa_fallback_frame_prev_register, hppa_fallback_frame_unwind): New
generic fallback unwinder when all else fails.
(hppa_gdbarch_init): Add fallback sniffer.
* hppa-tdep.h (hppa_frame_prev_register_helper): Prototype.
* hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register): Convert
to use helper function.
Diffstat (limited to 'gdb/hppa-tdep.h')
-rw-r--r-- | gdb/hppa-tdep.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h index 79e8ae3112b..55c8bdaf4ae 100644 --- a/gdb/hppa-tdep.h +++ b/gdb/hppa-tdep.h @@ -188,4 +188,11 @@ int hppa_extract_14 (unsigned); int hppa_low_sign_extend (unsigned int, unsigned int); int hppa_sign_extend (unsigned int, unsigned int); +void +hppa_frame_prev_register_helper (struct frame_info *next_frame, + struct trad_frame_saved_reg saved_regs[], + int regnum, int *optimizedp, + enum lval_type *lvalp, CORE_ADDR *addrp, + int *realnump, void *valuep); + #endif /* HPPA_TDEP_H */ |