public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Bare-metal core dumps for RISC-V
@ 2020-12-02 17:39 Andrew Burgess
  2020-12-02 17:39 ` [PATCH 1/8] gdb/riscv: use a single regset supply function for riscv fbsd & linux Andrew Burgess
                   ` (9 more replies)
  0 siblings, 10 replies; 38+ messages in thread
From: Andrew Burgess @ 2020-12-02 17:39 UTC (permalink / raw)
  To: binutils, gdb-patches
  Cc: Nelson Chu, Jim Wilson, John Baldwin, Andrew Burgess

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.

All feedback is welcome.

Thanks,
Andrew

---

Andrew Burgess (8):
  gdb/riscv: use a single regset supply function for riscv fbsd & linux
  bfd/binutils: support for gdb target descriptions in the core file
  gdb: write target description into core file
  bfd/riscv: prepare to handle bare metal core dump creation
  gdb/riscv: introduce bare metal core dump support
  bfd/binutils: add support for RISC-V CSRs in core files
  gdb/riscv: make riscv target description names global
  gdb/riscv: write CSRs into baremetal core dumps

 bfd/ChangeLog          |  24 +++
 bfd/elf-bfd.h          |   4 +
 bfd/elf.c              |  46 +++++
 bfd/elfnn-riscv.c      |  73 ++++++++
 binutils/ChangeLog     |  10 +
 binutils/readelf.c     |   4 +
 gdb/ChangeLog          |  46 +++++
 gdb/Makefile.in        |   2 +
 gdb/configure.tgt      |   2 +-
 gdb/corelow.c          |  22 +++
 gdb/gcore.c            |  20 ++
 gdb/riscv-fbsd-tdep.c  |  20 +-
 gdb/riscv-linux-tdep.c |   4 +-
 gdb/riscv-none-tdep.c  | 405 +++++++++++++++++++++++++++++++++++++++++
 gdb/riscv-tdep.c       |  64 ++++++-
 gdb/riscv-tdep.h       |  26 +++
 include/ChangeLog      |  10 +
 include/elf/common.h   |   4 +
 18 files changed, 761 insertions(+), 25 deletions(-)
 create mode 100644 gdb/riscv-none-tdep.c

-- 
2.25.4


^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2021-01-18 14:15 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2020-12-02 22:58     ` Jim Wilson
2020-12-03 12:16       ` Luis Machado
     [not found]         ` <20201214115512.GI2945@embecosm.com>
2021-01-11 10:19           ` Andrew Burgess
2021-01-11 13:03             ` Luis Machado
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
2020-12-07 15:17     ` Andrew Burgess
2020-12-07 15:58       ` Luis Machado
2020-12-07 16:58         ` Andrew Burgess
2020-12-07 17:24           ` Luis Machado
2020-12-07 18:11             ` Andrew Burgess
2020-12-07 19:00               ` Luis Machado
2020-12-07 19:23                 ` Andrew Burgess
2020-12-07 19:39                   ` Luis Machado
2020-12-07 19:51                     ` Paul Mathieu
2020-12-13 10:13                       ` Fredrik Hederstierna
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).