Hardware watchpoints
Jim Blandy
jimb@cygnus.com
Sun Oct 24 21:40:00 GMT 1999
> > One question that I still can't figure out is why does GDB at all
> > _need_ to have the parent struct on the value chain? Where is that
> > information used?
>
> GDB doesn't *need* it, per se.
Sorry --- there's a better answer to that question.
In evaluating the expression x.y, the value chain will contain a value
for the entire structure x, and a value for the member, x.y. The
former value is needed by the '.' operator; the operator extracts the
'y' member from it.
More information about the Gdb
mailing list