* hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
use it.
This commit is contained in:
parent
4988d8c722
commit
eabbe766c0
2 changed files with 10 additions and 0 deletions
|
@ -327,6 +327,11 @@ find_proc_framesize(pc)
|
|||
if (!u)
|
||||
return -1;
|
||||
|
||||
if (u->Save_SP)
|
||||
/* If this bit is set, it means there is a frame pointer and we should
|
||||
use it. */
|
||||
return -1;
|
||||
|
||||
return u->Total_frame_size << 3;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue