From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imta-38.everyone.net (imta-38.everyone.net [216.200.145.38]) by sourceware.org (Postfix) with ESMTPS id ECC1D3857C5C for ; Sat, 21 Nov 2020 17:04:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org ECC1D3857C5C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=lcwb.coop Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rodney_bates@lcwb.coop Received: from pps.filterd (omta003.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 0ALH2m84005288 for ; Sat, 21 Nov 2020 09:04:07 -0800 X-Eon-Originating-Account: XC0l5djDfCHnQo2pUioixIInWINodvr7da7L6qmY74kGl0QT7BjInfkudIhTZkvW X-Eon-Dm: m0116787.ppops.net Received: by m0116787.mta.everyone.net (EON-AUTHRELAY2 - acf3c47e) id m0116787.5f8a0270.772a1b for ; Sat, 21 Nov 2020 09:04:05 -0800 X-Eon-Sig: AQNpay9fuUiF50NDXgIAAAAB,e11d3fabd8333707689c52d3b796a820 X-Eip: MaFtuIEVNPY83H7Hp3PODM9yiCweGXnDjwjflNlaE24 Reply-To: rodney.m.bates@acm.org Subject: Re: I compile gdbserver for RISCV on gdb10.1 version, and there is a error To: gdb@sourceware.org References: <20201116133833.1659C5D000A6@webmail.sinamail.sina.com.cn> <1937fc1e-0ade-8132-87bc-a4cf7829e32d@lcwb.coop> From: "Rodney M. Bates" Message-ID: Date: Sat, 21 Nov 2020 11:03:59 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-21_04:2020-11-20, 2020-11-21 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxscore=0 clxscore=1015 impostorscore=0 mlxlogscore=617 suspectscore=1 bulkscore=0 adultscore=0 malwarescore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011210118 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 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: Sat, 21 Nov 2020 17:04:10 -0000 On 11/20/20 2:37 PM, Jim Wilson wrote: > 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. > OK, thanks. > Jim > -- Rodney Bates rodney.m.bates@acm.org