This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] gdb/riscv: Add read_description method for riscv_linux_nat_target
- From: Jim Wilson <jimw at sifive dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>
- Cc: gdb-patches at sourceware dot org, Palmer Dabbelt <palmer at sifive dot com>, John Baldwin <jhb at freebsd dot org>
- Date: Wed, 28 Nov 2018 18:05:21 -0800
- Subject: Re: [RFC] gdb/riscv: Add read_description method for riscv_linux_nat_target
- References: <20181128224953.22441-1-andrew.burgess@embecosm.com>
On Wed, Nov 28, 2018 at 2:49 PM Andrew Burgess
<andrew.burgess@embecosm.com> wrote:
> Adds riscv_linux_nat_target::read_description method to find a
> suitable target description for the native linux target we are running
> on.
I tested this on my HiFive Unleashed running a 4.15 kernel with
patches for gcc, gdb, and glibc support. It looks good. It correctly
detects the FP register support. I get 3 extra failures
FAIL: gdb.base/solib-display.exp: NO: continue
FAIL: gdb.base/solib-display.exp: IN: continue
FAIL: gdb.base/solib-display.exp: SEP: continue
which looks a little odd since there is no obvious connection to the
target description support, but this is repeatable so something is
going on here. Anyways, I'm OK with this for now, we can worry about
debugging this problem later.
Jim