This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH][RX] RXv2 support
- From: Pedro Alves <palves at redhat dot com>
- To: Yoshinori Sato <ysato at users dot sourceforge dot jp>, gdb-patches at sourceware dot org
- Date: Tue, 07 Apr 2015 09:31:28 +0100
- Subject: Re: [PATCH][RX] RXv2 support
- Authentication-results: sourceware.org; auth=none
- References: <874mos7ate dot wl-ysato at users dot sourceforge dot jp>
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.
Thanks,
Pedro Alves