This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Remote watchpoint support.
- To: jtc at redback dot com
- Subject: Re: Remote watchpoint support.
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 01 Nov 2000 21:44:09 +1100
- Cc: Eli Zaretskii <eliz at is dot elta dot co dot il>, msalter at redhat dot com,gdb-patches at sources dot redhat dot com
- References: <200010301416.e9UEG6m18981@deneb.localdomain> <5mg0leoyg6.fsf@jtc.redback.com> <200010310906.EAA21820@indy.delorie.com> <5mpukgli1x.fsf@jtc.redback.com>
"J.T. Conklin" wrote:
> In this case, I don't think it would be that difficult to fix. For a
> first cut, I'd change the macro to:
>
> target_stopped_data_address(&addr)
>
> It would return 0 if GDB didn't stop because of a watchpoint, and 1
> (and set addr) if it did.
The trend has been towards (well ok, I've in gdbarch used):
int target_stopped_data_address_p ();
void target_stopped_data_address (..);
enjoy,
Andrew