This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Frame handling
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