[PATCHv3 0/2] Initial RiscV Support

Andrew Burgess andrew.burgess@embecosm.com
Fri Mar 2 20:09:00 GMT 2018


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



More information about the Gdb-patches mailing list