diff options
Diffstat (limited to 'gdb/s390-tdep.c')
-rw-r--r-- | gdb/s390-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index 4ec129c..f91b696 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -242,7 +242,8 @@ s390_get_frame_info (CORE_ADDR pc, struct frame_extra_info *fextra_info, { if (fi && fi->frame) { - orig_sp = fi->frame + fextra_info->stack_bought; + if (! init_extra_info && fextra_info->initialised) + orig_sp = fi->frame + fextra_info->stack_bought; saved_regs = fi->saved_regs; } if (init_extra_info || !fextra_info->initialised) |