summaryrefslogtreecommitdiff
path: root/gdb/alphanbsd-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-06-04 05:50:35 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-06-04 05:50:35 +0000
commit5c44df69d0a3468ab9d58baae76657ab4e23efd9 (patch)
treee7e6ca235e6e59320e3cace7f6571c55d5774221 /gdb/alphanbsd-tdep.c
parent722017267c1943c5301a92fe90e60ffb87f9d7c8 (diff)
downloadgdb-5c44df69d0a3468ab9d58baae76657ab4e23efd9.tar.gz
* 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/alphanbsd-tdep.c')
-rw-r--r--gdb/alphanbsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
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