From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 8EDkAriHzl8CUAAAWB0awg (envelope-from ) for ; Mon, 07 Dec 2020 14:51:20 -0500 Received: by simark.ca (Postfix, from userid 112) id F3A491F071; Mon, 7 Dec 2020 14:51:19 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_NONE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 897191EF4B for ; Mon, 7 Dec 2020 14:51:19 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C2DE93896C31; Mon, 7 Dec 2020 19:51:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C2DE93896C31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1607370678; bh=uPoWiYJ/oIgvMiLblqFMKDrr60n2UFYLNAKu/RHSN4w=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=QUO6AIdFVaWmCOJax0mpZqqnhUK4mTdtKZnxumAMphnovjxgNYgJGQjE1urMjgt/H S6/2KlfMJ4a6iBBZz0u9us4KO8ZQm9rOvEBCtDC1XK4H2nkxVSw5cXUHyiK8r0TsQ0 3lA2EZJ/QIUL3Dr1ieVgY0buzdfoFLs0ZPxho6qQ= Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by sourceware.org (Postfix) with ESMTPS id F1564389680B for ; Mon, 7 Dec 2020 19:51:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F1564389680B Received: by mail-pf1-x441.google.com with SMTP id c12so4084186pfo.10 for ; Mon, 07 Dec 2020 11:51:15 -0800 (PST) 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=uPoWiYJ/oIgvMiLblqFMKDrr60n2UFYLNAKu/RHSN4w=; b=gH/0b+oAUOJ03Iul2NThmmfFP3uhltO4ZtSz6re267qrPwBPC8CcnMo8gev5+Of2N6 v/T2S/u2FB5UUi979MH3EKfhTVEWF5H/ygPHI+pCGWWLXxxxGlQnE+K/0DBw2y/ekQmw oJMIWa2wFkOcK/Ga3RzpmFJFm+Tq8dF0pfH313jSmX9yUO+R4DeFwBLKjfdDbpBMNx8Y Wvd0EByjg62qWTpI0pqYM6ryVYwtGm9Lo8QCoP/Sw5T0K7VzNz9Y7gba0AyKxh3sd4Rf XocslMuyyI0Q28qmvLilOJ1+5D3DpahSRMssvn2fHbRzpctjwWruLjKd8/Z0vcxOaook ZEow== X-Gm-Message-State: AOAM531ySxhnSEcftpz3rXc92SUGK6u636bMbqdlK5Jg3SwNQqrLvulL kiPInhvbjTWtaPf1p3iv5rpV6frYJhVQdIbVUqW47w== X-Google-Smtp-Source: ABdhPJxedWTQiEzzwg/oOncYhmBF7F2nZT357rznbxkWHJy9SziZKFuVDvC/1LjMNWHtcbPuFqchlx5QPqIwEHpm0yY= X-Received: by 2002:a17:90a:3cc6:: with SMTP id k6mr416951pjd.204.1607370674727; Mon, 07 Dec 2020 11:51:14 -0800 (PST) MIME-Version: 1.0 References: <5ba628c1042f3000947a1f2a6f9e24cf46573fa3.1606930261.git.andrew.burgess@embecosm.com> <20201207151702.GK2729@embecosm.com> <36bed17a-6012-a5d9-a29c-64e9cbbef640@linaro.org> <20201207165836.GM2729@embecosm.com> <615830c3-4ccb-cfd6-3721-0123d6c4b56a@linaro.org> <20201207181136.GN2729@embecosm.com> <3595d9b8-e26c-5ed4-8906-4ee3519a120e@linaro.org> <20201207192359.GO2729@embecosm.com> <601f2195-db95-3864-c54d-8c6998cff00a@linaro.org> In-Reply-To: <601f2195-db95-3864-c54d-8c6998cff00a@linaro.org> Date: Mon, 7 Dec 2020 11:51:03 -0800 Message-ID: Subject: Re: [PATCH 5/8] gdb/riscv: introduce bare metal core dump support To: Luis Machado Content-Type: text/plain; charset="UTF-8" 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: , From: Paul Mathieu via Gdb-patches Reply-To: Paul Mathieu Cc: Fredrik Hederstierna , gdb-patches@sourceware.org, binutils@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" Thanks Luis for getting the ball rolling again! As far as I'm concerned, I haven't deployed much infrastructure to generate or otherwise deal with bare metal cores at the moment, so I'm happy to work with anything. The one thing that is a big deal to me is support for RTOS threads. ELF + NOTES seems like the obvious choice to me, as it matches what I'm used to. Most online resources about core dumps seem to be specifically about Linux core dumps, so it would be less surprising and more helpful to share as much as possible with it, IMO. What I'm expecting from a bare metal core dump: - memory dump sections - CPU registers - when available (RTOS support from the dumping side): inactive threads' CPU registers