From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by sourceware.org (Postfix) with ESMTPS id 7B1C9396E853 for ; Wed, 2 Dec 2020 23:59:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7B1C9396E853 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-qk1-x741.google.com with SMTP id q22so554945qkq.6 for ; Wed, 02 Dec 2020 15:59:47 -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=it4+3kAOKk2emmNzeUOD/7s88xqYr2JXqF5WGqZLmzQ=; b=hQgWLcPYYh4xBd/7AlOUZdwEt5SiIP0Pz57ELsZitGfavaQ39irsMRB4cmqgUCFiQz L3Pgr0LJb2p//1/uy3hwJ3WpPTzs8wtAebZ/fLydJUofLH/UA39yBVcnsISSf/7GzC8Z 1U7WE1VH91VNGDri0gCperrNV0rWTGQDL8oLbAkwzXsIaGNFDg2Hr6g6XgyJlSzxzO7v OhzacHkg+w4nRp3J30YksZqD0PfbxxL2Fni4KK80cSCgbeXCgVvu7tcd79vQ3ImG5jXZ f9PRTRc7ivQFVT6GQ4pR12UR+geu4Zo7dldRh8bq6V4srZiVlLKDiR3b6yi9iUVIeZ0h MMYw== 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=it4+3kAOKk2emmNzeUOD/7s88xqYr2JXqF5WGqZLmzQ=; b=ABoq9ahVC/bNmjuzmmP4qfTRvPB49FL1ojrJlirlDX48nJk/dWasrByOEwxLBNhWW+ yarK2PVilkfEvoeGFevOlDFpec64gnOiJLMZwRHcTf6Aq2VJbBpLeR5HX4AJa5bHDS29 Opd7vReRIUQ7uovVhjL5z80UHrKMRhzARufcSSOjoW827N8+PHiantXHh30YmVz5/s9e +1tu6UfxDyfCthn5bEIw+s8jEVbS3lya7aW0ccU1YJJWN/K8xowvVT8IVDVuOhCBe2iq hw9B5WPdXewTBtSNF5NvEbT7dXn950AhmxgfbqgolN7IsXyz4UIEXAl3Xl5fFJaPbvbG Tr4w== X-Gm-Message-State: AOAM530IXdPcHGlWHFRFZSlPw2GjrEbjLxjscX2AfWGaheFfjRv3LM6J xQKxSUdpoBE0+/eGmghlMY02JRyb/AxJ9adPclh/Ww== X-Google-Smtp-Source: ABdhPJzmllZ8Q7eod9On+vFwOcJr4z4qZ3SAnt01VXli4lvRivW0CXuliDf7oMbJSCuacAQCyiZ2/B7CSr15qV5bip0= X-Received: by 2002:a05:620a:2018:: with SMTP id c24mr315821qka.143.1606953587131; Wed, 02 Dec 2020 15:59:47 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jim Wilson Date: Wed, 2 Dec 2020 15:59:36 -0800 Message-ID: Subject: Re: [PATCH 0/8] Bare-metal core dumps for RISC-V To: Andrew Burgess Cc: Binutils , gdb-patches@sourceware.org, Nelson Chu , John Baldwin X-Spam-Status: No, score=-1.8 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=unavailable 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-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2020 23:59:48 -0000 On Wed, Dec 2, 2020 at 9:39 AM Andrew Burgess wrote: > This series touches both binutils and gdb. Patches #2, #4, and #6 are > binutils patches, all the rest are gdb patches. > > The goal of this series is to add support to GDB for generating a core > file for a bare metal RISC-V target. > > As part of this series patches #2 and #3 add a generic new feature to > GDB, the ability to include the current target description in a > generated core file. > Just as a general comment, the RISC-V psabi currently only specifies the dwarf2 register numbers, which the compiler obviously needs. Otherwise, it doesn't try to document anything gdb related, as it has been mainly assembler/linker/compiler folk contributing to it. At some point we might need some gdb related documentation. Some of the changes here potentially affect llvm/lldb and the FreeBSD folks, and they may not be reading GNU mailing lists. Jim