This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH][RX] RXv2 support
- From: Yoshinori Sato <ysato at users dot sourceforge dot jp>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 08 Apr 2015 14:41:13 +0900
- Subject: Re: [PATCH][RX] RXv2 support
- Authentication-results: sourceware.org; auth=none
- References: <874mos7ate dot wl-ysato at users dot sourceforge dot jp> <552395E0 dot 1040905 at redhat dot com>
At Tue, 07 Apr 2015 09:31:28 +0100,
Pedro Alves wrote:
>
> On 04/07/2015 06:43 AM, Yoshinori Sato wrote:
> > RXv2 added some register and extend accumulator.
> >
> > http://documentation.renesas.com/doc/products/mpumcu/doc/rx_family/r01us0071ej0100_rxv2sm.pdf
> >
> > This patch add extb and extent accumulator size.
> >
>
> It isn't right to unconditionally present these registers to the user
> when debugging targets that don't have them.
>
> The right way to fix this is to add a new xml target description,
> which includes a new feature, like e.g., "org.gnu.gdb.rx2.core".
> Look for tdesc_has_registers in the various ports in the tree.
OK.
I trying it.
Thanks.
> Thanks,
> Pedro Alves
>
--
Yoshinori Sato
<ysato@users.sourceforge.jp>