[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb
Subject:    Re: I compile gdbserver for RISCV on gdb10.1 version, and there is a error
From:       "Rodney M. Bates" <rodney_bates () lcwb ! coop>
Date:       2020-11-21 17:03:59
Message-ID: c1eda2dc-c1be-0c21-f1f2-28afe20b794e () lcwb ! coop
[Download RAW message or body]



On 11/20/20 2:37 PM, Jim Wilson wrote:
> On Fri, Nov 20, 2020 at 7:48 AM Rodney M. Bates <rodney_bates@lcwb.coop>
> wrote:
> 
>> On 11/16/20 3:55 PM, Jim Wilson wrote:
>>> If you have an old linux kernel, gdb will not work due to bugs in the
>> linux
>>> kernel ptrace support.  I submitted two patches to fix two problems in
>> Fall
>>> 2018.  Then there was a third patch to add support for FP registers but
>> you
>>> only need that one if you want to look at FP registers.  You definitely
>>
>> How old a Linux kernel has these bugs?
>>
> 
> Fall 2018.  I don't know linux kernel version numbers.  You can look it
> up.  Certainly 4.15 won't work without patches.  But another person pointed
> at a patched 4.15 tree that has the two most important patches.
> 

OK, thanks.

> Jim
> 

-- 
Rodney Bates
rodney.m.bates@acm.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic