Frame handling
Daniel Jacobowitz
drow@mvista.com
Tue Jul 1 12:45:00 GMT 2003
On Mon, Jun 30, 2003 at 10:00:21PM -0700, Jafa wrote:
> Out of interest, what is the theory behind the frame id being made up of
> address + func?
The theory is that the frame ID is persistent. It lives until the
frame goes out of scope (locals with watchpoints on them disappear,
frame-specific breakpoints, etc.). Stack addr isn't enough, because of
frameless functions; but PC is too volatile.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb
mailing list