aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-03-27 19:04:37 +0000
committerDaniel Jacobowitz <drow@false.org>2007-03-27 19:04:37 +0000
commitde6a76fdbfd7337eda8a746209c59087d8d1dcee (patch)
tree8fa29b4dfd9efbd3b73a588a5bef976d9e09b210 /gdb
parent4fc771b8c4b03069118fcfcea6c9385b592e8098 (diff)
downloadgdb-de6a76fdbfd7337eda8a746209c59087d8d1dcee.zip
gdb-de6a76fdbfd7337eda8a746209c59087d8d1dcee.tar.gz
gdb-de6a76fdbfd7337eda8a746209c59087d8d1dcee.tar.bz2
2007-03-27 Anton Blanchard <anton@samba.org>
* rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset instead of wordsize when looking for the LR in a stack frame.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/rs6000-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e8aa047..5a71a4b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-27 Anton Blanchard <anton@samba.org>
+
+ * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset
+ instead of wordsize when looking for the LR in a stack frame.
+
2007-03-27 Andreas Schwab <schwab@suse.de>
Daniel Jacobowitz <dan@codesourcery.com>
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 4319626..507b22f 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -3026,7 +3026,7 @@ rs6000_frame_cache (struct frame_info *next_frame, void **this_cache)
if (make_frame)
{
fdata.frameless = 0;
- fdata.lr_offset = wordsize;
+ fdata.lr_offset = tdep->lr_frame_offset;
}
}