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 7A9BF396E843 for ; Wed, 2 Dec 2020 23:59:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7A9BF396E843 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 d9so539762qke.8 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=o7EP2ghdlsZSlOcAKObCjEMFOlOKihJ04atVaq8MDw1kgrB1ch5PFHFDmWGCy5Wwmf raruIJBW1S1cL+cnx0Zq0zkiQGSedHO6ZjU4bPjMUUxR/OnHOGAImns8TtyBP5u9/Kkl QbjwTuHDiJSdgDD46mpSTPRhdk1+SABKY059EEY61cIaw2nAMXbTMpgvEAUW+BZecYjt vgjIpamO9g3rIEYkYntgR4aUarxay1QuzMKQbMPKzaZRuoI98+KWcYLWMidhtMrcgL0o iBEkUFIT9INEeEYADliEoKMqc2JvQZHvhqHz2NhFbjIlOZfBi4OmRG6GxiinZtY0Zn0s MKZg== X-Gm-Message-State: AOAM530vYC9UYnv9P2+WnSq5GEkzKy/Mt2xbum8LX+R9nD7tEhAgjCkn h37Yz7UZMBr2pdtYREpiKjM3VLahGJqSLNdCzHX8Og== 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.3 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: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils 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