public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Jim Wilson <jimw@sifive.com>
To: rodney.m.bates@acm.org
Cc: gdb <gdb@sourceware.org>
Subject: Re: I compile gdbserver for RISCV on gdb10.1 version, and there is a error
Date: Fri, 20 Nov 2020 12:37:03 -0800	[thread overview]
Message-ID: <CAFyWVaZ3BHRtuviLdoO3wiOyx2-NRaR094+oD0Z3rQXNdLhOww@mail.gmail.com> (raw)
In-Reply-To: <1937fc1e-0ade-8132-87bc-a4cf7829e32d@lcwb.coop>

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.

Jim

  reply	other threads:[~2020-11-20 20:37 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
2020-11-20 20:37     ` Jim Wilson [this message]
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=CAFyWVaZ3BHRtuviLdoO3wiOyx2-NRaR094+oD0Z3rQXNdLhOww@mail.gmail.com \
    --to=jimw@sifive.com \
    --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).