public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: "Rodney M. Bates" <rodney_bates@lcwb.coop>
To: gdb@sourceware.org
Subject: Re: I compile gdbserver for RISCV on gdb10.1 version, and there is a error
Date: Fri, 20 Nov 2020 09:47:56 -0600	[thread overview]
Message-ID: <1937fc1e-0ade-8132-87bc-a4cf7829e32d@lcwb.coop> (raw)
In-Reply-To: <CAFyWVaY57+ML9fMEi+7vQ-W_B+FVVPy=qYqpwWevUw8OAndkNg@mail.gmail.com>



On 11/16/20 3:55 PM, Jim Wilson wrote:
> On Mon, Nov 16, 2020 at 5:38 AM <hilihui@sina.com> wrote:
> 
>> So do you mean that the gdb for RISCV on some project is not supported,
>> because these projects still use the old linux kernel system.
>>
>> Now i am working on "https://github.com/pulp-platform/ariane-sdk"
>> project, and the project still use the old linux kernel system, so the gdb
>> on the platform is not available.
>>
> 
> 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?

> need the first two patches in the kernel.
> 
> Jim
> 

-- 
Rodney Bates
rodney.m.bates@acm.org

  reply	other threads:[~2020-11-20 15:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20201116133833.1659C5D000A6@webmail.sinamail.sina.com.cn>
2020-11-16 21:55 ` Jim Wilson
2020-11-20 15:47   ` Rodney M. Bates [this message]
2020-11-20 20:37     ` Jim Wilson
2020-11-21 17:03       ` Rodney M. Bates
2020-11-13  2:43 hilihui
2020-11-13 13:13 ` Simon Marchi
2020-11-14  3:08   ` Jim Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1937fc1e-0ade-8132-87bc-a4cf7829e32d@lcwb.coop \
    --to=rodney_bates@lcwb.coop \
    --cc=gdb@sourceware.org \
    --cc=rodney.m.bates@acm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).