I compile gdbserver for RISCV on gdb10.1 version, and there is a error

Jim Wilson jimw@sifive.com
Thu Nov 19 01:04:53 GMT 2020


On Mon, Nov 16, 2020 at 6:07 PM <hilihui@sina.com> wrote:

> Where is your patches?
>

In the upstream linux kernel.  But they were added in Summer/Fall 2018.  If
you have an old linux kernel release, then you won't have them.  They
should be in the linux kernel mailing list, but I don't know of an easy way
to search that offhand.  If you do a git log on a recent linux kernel clone
and then look for jimw@sifive.com you will see 4 patches.  The first one,
futex, was for glibc.  The other 3 are for gdb.  You can then use git diff
to extract the patches.  Or cherry-pick them or whatever.

Jim


More information about the Gdb mailing list