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

Jan Vrany <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On Wed, 2020-11-18 at 17:04 -0800, Jim Wilson wrote:
> On Mon, Nov 16, 2020 at 6:07 PM <[email protected]> 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 [email protected] 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.

https://github.com/janvrany/riscv-linux/tree/users/jv/riscv-linux-4.15

Here you may find an 4.15 kernel with patches Jim is refering to
applied (I think), except the one for floating point regs. This is an
old kernel I used in fall of 2018. Was usable on QEMU and SiFive
Unleashed with debian. 

The repo also contains 5.0rc known to work just fine on Unleashed (with
debian) Indeed, these are fairly old kernels...
 
HTH, Jan

> 
> Jim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.