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: Orjan Friberg <orjan dot friberg at axis dot com>
- Cc: weigand at i1 dot informatik dot uni-erlangen dot de, kettenis at chello dot nl,gdb-patches at sources dot redhat dot com, drow at false dot org
- Date: 06 May 2004 07:59:34 +0200
- Subject: Re: Display of read/access watchpoints when HAVE_NONSTEPPABLE_WATCHPOINT
- References: <200405042208.AAA07379@faui1d.informatik.uni-erlangen.de> <u8yg7e794.fsf@gnu.org> <4098A4F6.5020106@axis.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 05 May 2004 10:25:26 +0200
> From: Orjan Friberg <orjan.friberg@axis.com>
>
> Note that tm-frv.h and nm-hppah.h actually use the struct
> target_waitstatus that is normally passed as an argument to the
> STOPPED_BY_WATCHPOINT macro.
Thanks for the heads-up.
Thus, for the STOPPED_BY_WATCHPOINT trick to work, bpstat_stop_status
needs to have access to the relevant parts of the inferior's struct
execution_control_state variable. It doesn't seem to me too hard to
pass that as an additional argument.