diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-05-09 03:58:26 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-05-09 03:58:26 +0000 |
commit | 6834c9bb08891b1da9e82d83f4ead5630f14ea11 (patch) | |
tree | 4bdf53373070f611a94ccd39b7c7ea8a458b7671 /gdb/alpha-osf1-tdep.c | |
parent | 86c31399870fee8dcfe74e0e64e4cae80db534c4 (diff) | |
download | gdb-6834c9bb08891b1da9e82d83f4ead5630f14ea11.zip gdb-6834c9bb08891b1da9e82d83f4ead5630f14ea11.tar.gz gdb-6834c9bb08891b1da9e82d83f4ead5630f14ea11.tar.bz2 |
* alpha-mdebug-tdep.c, alpha-osf1-tdep.c, alpha-tdep.c:
Update for unwinder changes.
Diffstat (limited to 'gdb/alpha-osf1-tdep.c')
-rw-r--r-- | gdb/alpha-osf1-tdep.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/alpha-osf1-tdep.c b/gdb/alpha-osf1-tdep.c index 226a8bd..1ae02e8 100644 --- a/gdb/alpha-osf1-tdep.c +++ b/gdb/alpha-osf1-tdep.c @@ -33,9 +33,13 @@ alpha_osf1_pc_in_sigtramp (CORE_ADDR pc, char *func_name) } static CORE_ADDR -alpha_osf1_sigcontext_addr (struct frame_info *next_frame) +alpha_osf1_sigcontext_addr (struct frame_info *this_frame) { - const struct frame_id next_id = get_frame_id (next_frame); + struct frame_info *next_frame = get_next_frame (this_frame); + struct frame_id next_id = null_frame_id; + + if (next_frame != NULL) + next_id = get_frame_id (next_frame); return (read_memory_integer (next_id.stack_addr, 8)); } |