From de6a76fdbfd7337eda8a746209c59087d8d1dcee Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 27 Mar 2007 19:04:37 +0000 Subject: [PATCH] 2007-03-27 Anton Blanchard * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset instead of wordsize when looking for the LR in a stack frame. --- gdb/ChangeLog | 5 +++++ gdb/rs6000-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e8aa047ed9d..5a71a4b169d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2007-03-27 Anton Blanchard + + * 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 Daniel Jacobowitz diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 4319626da32..507b22faf33 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; } } -- 2.30.2