diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-06-24 19:32:37 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-06-24 19:32:37 +0000 |
commit | 2107e348e65917bd71c3e8f53f8cad6f3ebb0f7a (patch) | |
tree | b06278c27def02e3af1611d8e3b9a2ff2d2c7009 | |
parent | 35d437df826b1c93010e04714db6cb55f5dc9c4d (diff) | |
download | gdb-2107e348e65917bd71c3e8f53f8cad6f3ebb0f7a.zip gdb-2107e348e65917bd71c3e8f53f8cad6f3ebb0f7a.tar.gz gdb-2107e348e65917bd71c3e8f53f8cad6f3ebb0f7a.tar.bz2 |
From Michael Mueller <m.mueller99@kay-mueller.de>:
* sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into
account.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/sparc64-tdep.c | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e206e55..d0e5fd4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c index 4903077..1fbb442 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 = |