diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-03-27 19:04:37 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-03-27 19:04:37 +0000 |
commit | de6a76fdbfd7337eda8a746209c59087d8d1dcee (patch) | |
tree | 8fa29b4dfd9efbd3b73a588a5bef976d9e09b210 /gdb/rs6000-tdep.c | |
parent | 4fc771b8c4b03069118fcfcea6c9385b592e8098 (diff) | |
download | gdb-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/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |