[PATCH] RISC-V: Fix gdbserver problem with handling arch strings.

Jim Wilson jimw@sifive.com
Mon Jan 27 20:31:00 GMT 2020


On Mon, Jan 27, 2020 at 5:04 AM Maciej W. Rozycki <macro@wdc.com> wrote:
> vs (native):
> p/d check_arg_struct_01_01 (ref_val_struct_01_01)
> $1 = 0
> (gdb) FAIL: gdb.base/infcall-nested-structs.exp: l=c++: types-tf: p/d check_arg_struct_01_01 (ref_val_struct_01_01)
>
> which might be a compiler problem (old `gcc (GCC) 8.2.1 20181105 (Red Hat
> 8.2.1-5)' in the native installation here, vs `riscv64-linux-gnu-gcc (GCC)
> 10.0.0 20191109 (experimental)' in the remote one), which I'll look into
> getting sorted independently, perhaps by wiring a native compiler build
> into my toolchain compilation.

This is
    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89627
which was fixed by Andrew Burgess in gcc 9.

Jim



More information about the Gdb mailing list