diff options
author | Joel Brobecker <brobecker@gnat.com> | 2003-06-04 05:50:35 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2003-06-04 05:50:35 +0000 |
commit | f534e522c9338a9d83ebe849127a9187312fb6be (patch) | |
tree | 908bccdb5d8fcd9b92f1f4560996209cc36c52ec /gdb | |
parent | 4035536ba42162e512bc4462faad04c908c9f0f9 (diff) | |
download | gdb-f534e522c9338a9d83ebe849127a9187312fb6be.zip gdb-f534e522c9338a9d83ebe849127a9187312fb6be.tar.gz gdb-f534e522c9338a9d83ebe849127a9187312fb6be.tar.bz2 |
* alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace
references to struct frame_info fields by calls to the equivalent
accessors. Necessary now that frame_info is opaque.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/alphanbsd-tdep.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5437018..c309bb2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2003-06-03 J. Brobecker <brobecker@gnat.com> + * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace + references to struct frame_info fields by calls to the equivalent + accessors. Necessary now that frame_info is opaque. + +2003-06-03 J. Brobecker <brobecker@gnat.com> + * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep structure, field no longer exists. diff --git a/gdb/alphanbsd-tdep.c b/gdb/alphanbsd-tdep.c index 4a6faf3..0fdbb63 100644 --- a/gdb/alphanbsd-tdep.c +++ b/gdb/alphanbsd-tdep.c @@ -189,7 +189,7 @@ alphanbsd_sigcontext_addr (struct frame_info *frame) /* FIXME: This is not correct for all versions of NetBSD/alpha. We will probably need to disassemble the trampoline to figure out which trampoline frame type we have. */ - return frame->frame; + return get_frame_base (frame); } static void |