This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Remote watchpoint support.


"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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]