diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-01 22:17:29 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-01 22:17:29 +0000 |
commit | 7bec77b47df60bd8242a51b3661c78eb596d40e8 (patch) | |
tree | 3aac1e6619d9021640c544899527fa624b54e125 /gdb/m88k-tdep.c | |
parent | 8afd05c039bd01e263ee1c96dd80213d8dffd971 (diff) | |
download | gdb-7bec77b47df60bd8242a51b3661c78eb596d40e8.zip gdb-7bec77b47df60bd8242a51b3661c78eb596d40e8.tar.gz gdb-7bec77b47df60bd8242a51b3661c78eb596d40e8.tar.bz2 |
* config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c:
Define IN_SIGTRAMP and backtrace correctly through signal handlers.
Diffstat (limited to 'gdb/m88k-tdep.c')
-rw-r--r-- | gdb/m88k-tdep.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/m88k-tdep.c b/gdb/m88k-tdep.c index a932e4c..189db6f 100644 --- a/gdb/m88k-tdep.c +++ b/gdb/m88k-tdep.c @@ -480,7 +480,15 @@ frame_find_saved_regs (fi, fsr) limit = (sal.end && sal.end < fi->pc) ? sal.end: fi->pc; /* This will fill in fields in *fi as well as in cache_fsr. */ +#ifdef SIGTRAMP_FRAME_FIXUP + if (fi->signal_handler_caller) + SIGTRAMP_FRAME_FIXUP(fi->frame); +#endif examine_prologue (ip, limit, fi->frame, cache_fsr, fi); +#ifdef SIGTRAMP_SP_FIXUP + if (fi->signal_handler_caller && fi->fsr->regs[SP_REGNUM]) + SIGTRAMP_SP_FIXUP(fi->fsr->regs[SP_REGNUM]); +#endif } if (fsr) |