[Crash-utility] [PATCH v2 00/17] Add MIPS64 support

Youling Tang tangyouling at loongson.cn
Tue Mar 16 09:38:35 UTC 2021


Initial support is limited to the 64-bit MIPS kernel, configured as little
endian. Regarding dump file types, vmcore and makedumpfile tools can be
used to dump compressed dumpfile files. Does not supports running a live
kernel.

The changes were tested on a mips64 Loongson-3A4000 processor. Can
successfully enter the crash command line and support for common
commands, such as bt, vtop, log commands, etc.

Youling Tang (17):
  Add MIPS64 framework code support
  MIPS64: Support getting regs from kdump dumpfiles
  MIPS64: Add gdb patch for Loongson machine
  MIPS64: Make the crash tool successfully enter the crash command line
  MIPS64: Add 'pte' command support
  MIPS64: Add 'dis' command support
  MIPS64: Fix display memory size issue
  MIPS64: Add to get processor speed
  MIPS64: Add 'mach' command support
  MIPS64: Add basic support for the 'bt' command
  MIPS64: Fixes for the gathering of the active task registers for the
    'bt' command
  MIPS64: Add 'bt -f' command support
  MIPS64: Add 'bt -l' command support
  MIPS64: Add the realization of verify symbol
  MIPS64: Add 'help -m/M' command support
  MIPS64: Add 'help -r' command support
  MIPS64: Add mips64 architecture support information

 Makefile            |    7 +-
 README              |    4 +-
 configure.c         |   33 +-
 defs.h              |  139 +++++-
 diskdump.c          |   26 +-
 gdb-7.6.patch       |   21 +-
 help.c              |    4 +-
 lkcd_vmdump_v2_v3.h |    3 +-
 memory.c            |   32 +-
 mips64.c            | 1365 +++++++++++++++++++++++++++++++++++++++++++++++++++
 netdump.c           |    6 +-
 symbols.c           |   10 +
 12 files changed, 1621 insertions(+), 29 deletions(-)
 create mode 100644 mips64.c

-- 
2.1.0




More information about the Crash-utility mailing list