From: Joel Brobecker Date: Wed, 4 Jun 2003 05:50:35 +0000 (+0000) Subject: * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): Replace X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f534e522c9338a9d83ebe849127a9187312fb6be;p=binutils-gdb.git * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 543701879e4..c309bb21a5e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2003-06-03 J. Brobecker + + * 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 * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete. diff --git a/gdb/alphanbsd-tdep.c b/gdb/alphanbsd-tdep.c index 4a6faf345aa..0fdbb63c6fb 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