Re: breakpoint for accessing memory location

Daniel Jacobowitz
2006-10-21T15:27:14Z

On Sat, Oct 21, 2006 at 10:06:00AM -0500, Rodney M. Bates wrote:
> For example, I sometimes want to watch p->f, where p is local variable that
> I know perfectly well will soon cease to exist, but I also know *p will
> remain. I've long since learned that watching p->f doesn't work. Instead,
> I print the address of p->f and then watch the contents of that address.

Yes, this does seem to be a frequent point of confusion...

--
Daniel Jacobowitz
CodeSourcery