From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127017 invoked by alias); 16 Oct 2019 10:03:18 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 126250 invoked by uid 89); 16 Oct 2019 10:03:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 spammy=resistance, negotiate, H*MI:sk:CABvJ_x, qsupported X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (205.139.110.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 16 Oct 2019 10:03:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571220195; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FEJ07t3GYjqwY6DhRQmBYea78R4GOK3SP+Cgg3DXUXg=; b=eURmJY57jnkLYmckM9aUdaAPUSN0yxu58wYHALCdWBtjSifh6S/uT3U7tTAeWSCcZcYZm9 Q33lY1tMKFVRZDtbchWWMBBeE9/JuKNF+4AzOtvXdj6DGrn20SO5Ss+mejTngZ7KiOcRsL NXe4QdglDAExi2aDHbpT/9bWDuux4u4= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-366-nqXy_JsMP5mfv_robWIcfw-1; Wed, 16 Oct 2019 06:03:08 -0400 Received: by mail-wm1-f71.google.com with SMTP id q9so952330wmj.9 for ; Wed, 16 Oct 2019 03:03:07 -0700 (PDT) Return-Path: Received: from ?IPv6:2001:8a0:f913:f700:56ee:75ff:fe8d:232b? ([2001:8a0:f913:f700:56ee:75ff:fe8d:232b]) by smtp.gmail.com with ESMTPSA id r10sm2095088wml.46.2019.10.16.03.03.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Oct 2019 03:03:05 -0700 (PDT) Subject: Re: RISC-V: Is it reasonable to extend current target_description for KGDB? To: Vincent Chen , gdb@sourceware.org References: Cc: Paul Walmsley From: Pedro Alves Message-ID: Date: Wed, 16 Oct 2019 10:03:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-10/txt/msg00012.txt.bz2 On 10/15/19 8:43 AM, Vincent Chen wrote: > Hi, > I am a Linux developer and trying to add the KGDB support to the > RISC-V Linux. During the porting, I encountered a GDB issue with the > 'g' packet. I hope the GDB experts can give me some advice. > The KGDB is a debugger provided by the kernel for users to debug > kernel space through GDB. To parse the GDB packets, the KGDB has a > simple gdb stub. However, this gdb stub does not support the > "qSupported" packet.=20 I don't understand the resistance to just adding the support. It is not complicated, and would surely end up being used to=20 negotiate support for other optional features. Thanks, Pedro Alves