Re: Frame handling

Daniel Jacobowitz
2003-07-01T12:45:38Z

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