From: Fredrik Hederstierna via Gdb-patches <gdb-patches@sourceware.org>
To: Paul Mathieu <paulmathieu@google.com>,
Luis Machado <luis.machado@linaro.org>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
"binutils@sourceware.org" <binutils@sourceware.org>
Subject: Re: [PATCH 5/8] gdb/riscv: introduce bare metal core dump support
Date: Sun, 13 Dec 2020 10:13:05 +0000 [thread overview]
Message-ID: <HE1PR10MB172383096FD09ACE5B6D33FEEFC80@HE1PR10MB1723.EURPRD10.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CAO_VGhoP9FHjUb-TbX-URhtn7e6No8qAfk3GFwg42POsRvuQTA@mail.gmail.com>
> From: Paul Mathieu <paulmathieu@google.com>
> Sent: Monday, December 7, 2020 8:51 PM
> To: Luis Machado <luis.machado@linaro.org>
> Cc: Andrew Burgess <andrew.burgess@embecosm.com>; binutils@sourceware.org <binutils@sourceware.org>; gdb-patches@sourceware.org <gdb-patches@sourceware.org>; Fredrik Hederstierna <fredrik.hederstierna@verisure.com>
> Subject: Re: [PATCH 5/8] gdb/riscv: introduce bare metal core dump support
>
> 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
Thanks all, good to see that bare metal corefile support involves even more people, and increased interest to get gdb support this feature.
I'm sorry I haven't had much time this fall to put more time into it. The v4-patch as discussed here is my latest proposal, and as I understood it was some 'leftovers' yet regarding specification/documentation, but I had not good idea how to start this work, so I think I would need to some help where to start off.
Hopefully the more generic parts of the v4-patch like the 'none-tdep.c' parts could be reused by riscv, the it can open paths to make the future ARM-support less work and easier to get it done. Then hopefully the riscv documentation parts could be very similar and also could be possibly reused for the ARM corefile format.
Anything that could help the arm-none-corefile support is great, nice if these patches for arm and riscv do not diverge, better if the patches could 'help each other' to get a good solution as generic as possible, also opening paths for future corefiles for even other CPU architectures.
Can I do anything right now to help proceeding this process, I'm sorry I do not really know what I can do currently to 'make it happen' :-)
Thanks all, Best Regards,
Fredrik
next prev parent reply other threads:[~2020-12-13 10:13 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-02 17:39 [PATCH 0/8] Bare-metal core dumps for RISC-V Andrew Burgess
2020-12-02 17:39 ` [PATCH 1/8] gdb/riscv: use a single regset supply function for riscv fbsd & linux Andrew Burgess
2021-01-18 14:15 ` Andrew Burgess
2020-12-02 17:39 ` [PATCH 2/8] bfd/binutils: support for gdb target descriptions in the core file Andrew Burgess
2020-12-02 18:21 ` Luis Machado via Gdb-patches
2020-12-02 22:58 ` Jim Wilson
2020-12-03 12:16 ` Luis Machado via Gdb-patches
[not found] ` <20201214115512.GI2945@embecosm.com>
2021-01-11 10:19 ` Andrew Burgess
2021-01-11 13:03 ` Luis Machado via Gdb-patches
2020-12-07 12:48 ` Andrew Burgess
2020-12-02 17:39 ` [PATCH 3/8] gdb: write target description into " Andrew Burgess
2020-12-03 20:36 ` Tom Tromey
2020-12-07 14:38 ` Andrew Burgess
2020-12-02 17:39 ` [PATCH 4/8] bfd/riscv: prepare to handle bare metal core dump creation Andrew Burgess
2020-12-02 23:24 ` Jim Wilson
2020-12-07 14:39 ` Andrew Burgess
2020-12-02 17:39 ` [PATCH 5/8] gdb/riscv: introduce bare metal core dump support Andrew Burgess
2020-12-02 18:12 ` Luis Machado via Gdb-patches
2020-12-07 15:17 ` Andrew Burgess
2020-12-07 15:58 ` Luis Machado via Gdb-patches
2020-12-07 16:58 ` Andrew Burgess
2020-12-07 17:24 ` Luis Machado via Gdb-patches
2020-12-07 18:11 ` Andrew Burgess
2020-12-07 19:00 ` Luis Machado via Gdb-patches
2020-12-07 19:23 ` Andrew Burgess
2020-12-07 19:39 ` Luis Machado via Gdb-patches
2020-12-07 19:51 ` Paul Mathieu via Gdb-patches
2020-12-13 10:13 ` Fredrik Hederstierna via Gdb-patches [this message]
2020-12-02 17:39 ` [PATCH 6/8] bfd/binutils: add support for RISC-V CSRs in core files Andrew Burgess
2020-12-02 23:50 ` Jim Wilson
2020-12-07 15:19 ` Andrew Burgess
2020-12-14 13:37 ` Andrew Burgess
2020-12-02 17:39 ` [PATCH 7/8] gdb/riscv: make riscv target description names global Andrew Burgess
2020-12-02 17:39 ` [PATCH 8/8] gdb/riscv: write CSRs into baremetal core dumps Andrew Burgess
2020-12-02 23:59 ` [PATCH 0/8] Bare-metal core dumps for RISC-V Jim Wilson
2020-12-07 12:10 ` Andrew Burgess
2020-12-07 19:57 ` Jim Wilson
2020-12-03 20:40 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=HE1PR10MB172383096FD09ACE5B6D33FEEFC80@HE1PR10MB1723.EURPRD10.PROD.OUTLOOK.COM \
--to=gdb-patches@sourceware.org \
--cc=binutils@sourceware.org \
--cc=fredrik.hederstierna@verisure.com \
--cc=luis.machado@linaro.org \
--cc=paulmathieu@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox