Problems with hardware watchpoint on ia32.

Jim Blandy jimb@zwingli.cygnus.com
Mon Mar 27 12:26:00 GMT 2000


> I seem to be unable to reproduce the problem, at least in a C program:
> whenever I say "watch foo == bar" (where foo and bar are structs), GDB
> curses thusly:
> 
> 	Structure has no component named operator==.
> 
> Am I missing something?

As Michael points out, structure comparison is broken.  But that
doesn't change my original point --- that it's perfectly legitimate to
have `struct value' objects representing structures, which should be
watched in their entirety.

The type of a value is irrelevant --- we're trying to track the memory
references made in the course of evaluating the expression.


More information about the Gdb mailing list