This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Remote watchpoint support for FRV
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 5 Oct 2007 09:56:40 -0400
- Subject: Re: Remote watchpoint support for FRV
- References: <200710051347.l95DlrFe018076@d12av02.megacenter.de.ibm.com>
On Fri, Oct 05, 2007 at 03:47:53PM +0200, Ulrich Weigand wrote:
> Hello,
>
> the tm-frv.h header file overrides a number of watchpoint related
> target macros, in particular:
>
> #define STOPPED_BY_WATCHPOINT(W) \
> ((W).kind == TARGET_WAITKIND_STOPPED \
> && (W).value.sig == TARGET_SIGNAL_TRAP \
> && frv_have_stopped_data_address())
Kevin, you were the last person to work on the FRV target (far as I
can tell); do you know anything about this?
Ulrich, there's a third option, but I don't know if it's practical.
Can we somehow specialize the remote target based on the architecture?
It's not the first time I've thought it would be useful. But we
already have the target adjusting the architecture and adding
something in the other direction might be awkward.
--
Daniel Jacobowitz
CodeSourcery