From Michael Mueller <m.mueller99@kay-mueller.de>:
authorMark Kettenis <kettenis@gnu.org>
Thu, 24 Jun 2004 19:32:37 +0000 (19:32 +0000)
committerMark Kettenis <kettenis@gnu.org>
Thu, 24 Jun 2004 19:32:37 +0000 (19:32 +0000)
* sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into
account.

gdb/ChangeLog
gdb/sparc64-tdep.c

index e206e55..d0e5fd4 100644 (file)
@@ -1,3 +1,9 @@
+2004-06-24  Mark Kettenis  <kettenis@gnu.org>
+
+       From Michael Mueller <m.mueller99@kay-mueller.de>:
+       * sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into
+       account.
+
 2004-06-22  Jeff Johnston  <jjohnstn@redhat.com>
 
        * infrun.c (handle_inferior_event): Initialize stopped_by_watchpoint
index 4903077..1fbb442 100644 (file)
@@ -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 =