This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCHv3 0/2] Initial RiscV Support

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.



Andrew Burgess (2):
  gdb/amd64: Ignore zero sized fields when calling functions
  gdb: Initial baremetal riscv support

 gdb/ChangeLog                             |   19 +
 gdb/MAINTAINERS                           |    5 +
 gdb/                           |    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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]