[PATCH v2 0/4] gdb: LoongArch: Add process record/replay and reverse debugging support

Hui Li lihui@loongson.cn
Fri Nov 22 09:06:20 GMT 2024


This series add record/replay and reverse debugging support on LoongArch.

Changes v1 -> v2:
Suggested by Guinevere Larsen:
- Rewrite gdb/arch/loongarch-insn.h using inline function.
- Call record_full functions directly in loongarch_record_xxxx_insn()
  at gdb/loongarch-tdep.c
- Fix some typo, and modify some function names in gdb/arch/loongarch-insn.h,
  gdb/loongarch-tdep.c and gdb/loongarch-linux-tdep.c.

Hui Li (4):
  gdb: LoongArch: Add instruction definition for process record
  gdb: LoongArch: Add basic process record/replay support
  gdb: LoongArch: Add system call support for process record/replay
  gdb: Add LoongArch process record/replay support in NEWS and doc

 gdb/NEWS                     |    3 +
 gdb/arch/loongarch-insn.h    | 2556 ++++++++++++++++++++++++++++++++++
 gdb/arch/loongarch-syscall.h |  348 +++++
 gdb/configure.tgt            |    2 +-
 gdb/doc/gdb.texinfo          |    2 +-
 gdb/loongarch-linux-tdep.c   |  570 ++++++++
 gdb/loongarch-tdep.c         |  513 +++++++
 gdb/loongarch-tdep.h         |    7 +
 gdb/testsuite/lib/gdb.exp    |    2 +
 9 files changed, 4001 insertions(+), 2 deletions(-)
 create mode 100644 gdb/arch/loongarch-insn.h
 create mode 100644 gdb/arch/loongarch-syscall.h

-- 
2.38.1



More information about the Gdb-patches mailing list