[patch] Warn on constant value watchpoints

Eli Zaretskii eliz@gnu.org
Sun Jun 8 18:50:00 GMT 2008


> Date: Sun, 8 Jun 2008 14:09:09 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Jan Kratochvil <jan.kratochvil@redhat.com>, gdb-patches@sourceware.org
> 
> On Sun, Jun 08, 2008 at 09:04:43PM +0300, Eli Zaretskii wrote:
> > > (gdb) watch 0x4343548
> > > Watchpoint 1: 70530376
> > 
> > Should we allow such watchpoints? under what circumstances are they
> > useful?
> 
> In my opinion, we should not allow such watchpoints.

I agree.  Does anyone disagree?  If not, Jan, could you rework your
patch accordingly?



More information about the Gdb-patches mailing list