This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Display of read/access watchpoints when HAVE_NONSTEPPABLE_WATCHPOINT
- From: "Eli Zaretskii" <eliz at gnu dot org>
- To: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- Cc: orjan dot friberg at axis dot com, kettenis at chello dot nl, gdb-patches at sources dot redhat dot com, drow at false dot org
- Date: Fri, 07 May 2004 11:06:44 +0200
- Subject: Re: Display of read/access watchpoints when HAVE_NONSTEPPABLE_WATCHPOINT
- References: <200405062134.XAA05759@faui1d.informatik.uni-erlangen.de>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Ulrich Weigand <weigand@i1.informatik.uni-erlangen.de>
> Date: Thu, 6 May 2004 23:34:10 +0200 (CEST)
>
> Well, the current behaviour of GDB is correct on targets like s390
> that cannot implement target_stopped_data_address, while your suggested
> change would break such targets. May I suggest that your change be
> implemented conditionally on whether the target supports it?
>
> > So right now, target_stopped_data_address is almost an alias for
> > STOPPED_BY_WATCHPOINT, but it is IMHO wrong to continue this illusion
> > into the future. Therefore, I like your patch better than the
> > alternative which would modify target_stopped_data_address.
>
> Actually I didn't suggest modifying target_stopped_data_address.
Someone, perhaps not you, posted a patch that uses
STOPPED_BY_WATCHPOINT. That was the patch I liked better; I
understand that it would work for s390 as well.