forked from Imagelibrary/binutils-gdb
Use frame address if arg pointer isn't available.
This commit is contained in:
@@ -410,6 +410,8 @@ frame_args_address (fi, must_be_correct)
|
||||
ap = 0;
|
||||
else
|
||||
ap = read_register (G14_REGNUM);
|
||||
if (ap == 0)
|
||||
ap = fi->frame;
|
||||
}
|
||||
fi->arg_pointer = ap; /* Cache it for next time */
|
||||
return ap;
|
||||
|
||||
Reference in New Issue
Block a user