From: Mark Kettenis Date: Thu, 24 Jun 2004 19:32:37 +0000 (+0000) Subject: From Michael Mueller : X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2107e348e65917bd71c3e8f53f8cad6f3ebb0f7a;p=binutils-gdb.git From Michael Mueller : * sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into account. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e206e556381..d0e5fd49860 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-06-24 Mark Kettenis + + From Michael Mueller : + * sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into + account. + 2004-06-22 Jeff Johnston * infrun.c (handle_inferior_event): Initialize stopped_by_watchpoint diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c index 49030779ee5..1fbb442515c 100644 --- a/gdb/sparc64-tdep.c +++ b/gdb/sparc64-tdep.c @@ -568,8 +568,7 @@ sparc64_frame_base_address (struct frame_info *next_frame, void **this_cache) struct sparc_frame_cache *cache = sparc64_frame_cache (next_frame, this_cache); - /* ??? Should we take BIAS into account here? */ - return cache->base; + return cache->base + BIAS; } static const struct frame_base sparc64_frame_base =