[RFC] gdb/riscv: Add read_description method for riscv_linux_nat_target

Jim Wilson jimw@sifive.com
Thu Nov 29 02:23:00 GMT 2018


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



More information about the Gdb-patches mailing list