This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: RFC gdb crashes on watchpoint that's no longer valid
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- To: jason-swarelist at molenda dot com
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 14 Aug 2002 14:01:12 +0300
- Subject: Re: RFC gdb crashes on watchpoint that's no longer valid
- References: <20020813152124.A97909@molenda.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> Date: Tue, 13 Aug 2002 15:21:24 -0700
> From: Jason Molenda <jason-swarelist@molenda.com>
>
> Do either of these approaches appeal to anyone?
My vote is for removing the watchpoint, but I think the message
should be more clear. For example:
if (! gdb_parse_exp_1 (&s, innermost_block, 0, &(b->exp)))
{
warning ("Unable to reset watchpoint %d (some of "
"its variables don't exist); deleting", b->number);