Watching complex expressions patch

Stan Shebs shebs@cygnus.com
Thu Nov 4 11:50:00 GMT 1999


   Date: Thu, 04 Nov 1999 11:46:19 +0100
   From: Pierre Muller <muller@cerbere.u-strasbg.fr>

     So my mecanism remembers the last memory that has been set a watch 
   and after reject all watches of bigger memory regions including that memory !

I'm not clear on what you're getting at here, but it sounds wrong.
GDB should allow the user to set any combination of watchpoints on the
same or related pieces of data.  The reason is the same as for
breakpoints; it's possible to attach conditions to watchpoints, and
you may have reason to attach one condition to "watch t.c", but a
different condition to a "watch t".  GDB should evaluate both
conditions whenever t.c changes, but only one condition each time t.a
or t.b changes.

								Stan



More information about the Gdb-patches mailing list