This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCHv3 0/2] Initial RiscV Support
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Simon Marchi <simark at simark dot ca>, Eli Zaretskii <eliz at gnu dot org>, Andrew Burgess <andrew dot burgess at embecosm dot com>
- Date: Fri, 2 Mar 2018 20:09:47 +0000
- Subject: [PATCHv3 0/2] Initial RiscV Support
- Authentication-results: sourceware.org; auth=none
- References: <1b9ec42a-a0fd-667b-59a5-780e84cce451@simark.ca>
Things that have changed in this revision:
1. Now use an observer to clear the inferior data when an inferior
exits. This is a pretty common pattern for other users of the
inferior data.
2. I've made small code clean ups suggested by Simon.
3. Switched to new/delete as suggested.
4. I've made the riscv test I added a generic test. The test was
added to cover a RiscV case, but there's really no reason it had
to be RiscV only. Once I tested this on x86-64 I hit a bug in
the argument passing on that target, which is fixed in the new
first patch of this series.
5. Rebased onto master as of yesterday and retested on all 8 RiscV
variants. Still getting the same pass rate as before. Also
tested on x86-64 GNU/Linux with no regressions.
Thanks,
Andrew
--
Andrew Burgess (2):
gdb/amd64: Ignore zero sized fields when calling functions
gdb: Initial baremetal riscv support
gdb/ChangeLog | 19 +
gdb/MAINTAINERS | 5 +
gdb/Makefile.in | 3 +
gdb/NEWS | 4 +
gdb/amd64-tdep.c | 5 +-
gdb/configure.tgt | 5 +
gdb/riscv-tdep.c | 2749 +++++++++++++++++++++++++++++
gdb/riscv-tdep.h | 84 +
gdb/testsuite/ChangeLog | 6 +
gdb/testsuite/gdb.base/float.exp | 2 +
gdb/testsuite/gdb.base/nested-structs.c | 159 ++
gdb/testsuite/gdb.base/nested-structs.exp | 189 ++
12 files changed, 3228 insertions(+), 2 deletions(-)
create mode 100644 gdb/riscv-tdep.c
create mode 100644 gdb/riscv-tdep.h
create mode 100644 gdb/testsuite/gdb.base/nested-structs.c
create mode 100644 gdb/testsuite/gdb.base/nested-structs.exp
--
2.14.3