From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by sourceware.org (Postfix) with ESMTPS id 186B2396ECF3 for ; Fri, 20 Nov 2020 20:37:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 186B2396ECF3 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jimw@sifive.com Received: by mail-ej1-x633.google.com with SMTP id a16so14689357ejj.5 for ; Fri, 20 Nov 2020 12:37:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gqaP8kayCkt/klw7HKmQWkCfkpm7EZHTaxuSn+J+R3c=; b=bSJdwIFKEccUAOuIGRicrfP+ZegS98Ho+8rZgoVBgKwhhda8XvQgETiYAi4GDwlIMZ zDXEkJja0eE9HDIyrWgYCLA5ojf7VYvqS2QQ5zPDy84AA8fMkWrzisMe0vFYiiMmkfuV dcwlGPtcF+x/I0KKzqbCaQY9k45iRvfdZdtSJUEHVAobQ6WCRnkB+N8l0zv4L6rWvRWR EH3n33gQFWwFwGbS0QZrBeeYXda3Lskad9AWsw1AaZioRWnTxxBQY9uCKkoJQwwJnB64 0vme+rkKZ/Wv2uTtvBg05Az5MxtaA8Kkeu6GQTpamf/YNwAiJNg/zVcCVOOGD1XoyzXA eImw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gqaP8kayCkt/klw7HKmQWkCfkpm7EZHTaxuSn+J+R3c=; b=cR3abgSCLaZ6CPIYzL1bq/b3FE1paiz3KvZq72oUqsMoAmQ/9hyjMzO+edoQp26Tp4 NYPMtqdlfSuqd4RCbSiNvwGuA19xfk6JTDZ0lTat7lacEdU8WRMZsrX+dFJW9fmwI6ZW Lic2g23GdOo4Y0vupvSn1JOUYwEqZm1bQFPq/+FZ/zH5eak9iXPVencgExG0+qn9J0S2 GiGlbekT+KUvYhR0MbnYMQa1cP3bgneRvsnadU/fTG3KodBgLpR3lZXxYfCGFNSYTGyy f9/mVugzky/BKp3vLOIKLLOBS/N6zZPEz0PQX5qfAzv3Y3CHg693uAAnv080ewGZGNRf Dmww== X-Gm-Message-State: AOAM530xjpEDiIlWscF5C9M4oPfvLaerENiC8unpzfj4Ski6blw1WL95 AREC8yXqa34XidXs1xKmtDKug837trLvos5qwHonKQ== X-Google-Smtp-Source: ABdhPJypoD6K6EDzKNARrmoVTE1OxEsUk1uDGoz9YjqsMEm7N2XiC1J53EeMj4sdJknytEIzUOhAtqsjIwqomg5icO0= X-Received: by 2002:a17:906:1c55:: with SMTP id l21mr1833034ejg.547.1605904634197; Fri, 20 Nov 2020 12:37:14 -0800 (PST) MIME-Version: 1.0 References: <20201116133833.1659C5D000A6@webmail.sinamail.sina.com.cn> <1937fc1e-0ade-8132-87bc-a4cf7829e32d@lcwb.coop> In-Reply-To: <1937fc1e-0ade-8132-87bc-a4cf7829e32d@lcwb.coop> From: Jim Wilson Date: Fri, 20 Nov 2020 12:37:03 -0800 Message-ID: Subject: Re: I compile gdbserver for RISCV on gdb10.1 version, and there is a error To: rodney.m.bates@acm.org Cc: gdb X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2020 20:37:17 -0000 On Fri, Nov 20, 2020 at 7:48 AM Rodney M. Bates 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