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 | 198a5b37e2b8b87e1a07a01d69e15869ce789277 (patch) | |
tree | 0464de62ba11808bf113ce5813e03fd0440ffb83 /gdb/alpha-osf1-tdep.c | |
parent | da247b0fc1f5def71aa150dbe7fc5ed12a5ba766 (diff) | |
download | gdb-198a5b37e2b8b87e1a07a01d69e15869ce789277.tar.gz |
* 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 226a8bd7fc3..1ae02e84615 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)); } |