This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2] RISC-V GDB Port
- From: Pedro Alves <palves at redhat dot com>
- To: Palmer Dabbelt <palmer at dabbelt dot com>, qiyaoltc at gmail dot com
- Cc: Andrew Waterman <andrew at sifive dot com>, gdb-patches at sourceware dot org, amodra at gmail dot com
- Date: Wed, 16 Nov 2016 19:36:29 +0000
- Subject: Re: [PATCH 1/2] RISC-V GDB Port
- Authentication-results: sourceware.org; auth=none
- References: <mhng-2585e691-2d32-42d8-9527-6f71a85ba5a6@palmer-mbp2014>
On 11/14/2016 10:39 PM, Palmer Dabbelt wrote:
>>> >> +
>>> >> + /* Check any target description for validity. */
>>> >> + if (tdesc_has_registers (info.target_desc))
>>> >> + {
>> >
>> > We don't have riscv target description yet.
> Yes. I'm amenable to adding one, but I'm not sure how.
>
You should really add them. Take a look at the ARC port,
which was recently added:
https://sourceware.org/ml/gdb-patches/2016-09/msg00248.html
Thanks,
Pedro Alves