[Crash-utility] [PATCH 00/16] Add MIPS64 support

Youling Tang tangyouling at loongson.cn
Tue Jan 26 10:05:56 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 (16):
  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
  MIPS: 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 relization of verify symbol
  MIPS64: Add 'help -m/M' command support
  MIPS64: Add 'help -r' command support

 Makefile               |   10 +-
 configure.c            |   35 +-
 defs.h                 |  143 ++++-
 diskdump.c             |   24 +-
 gdb-7.6-loongson.patch |   19 +
 lkcd_vmdump_v2_v3.h    |    3 +-
 memory.c               |   28 +-
 mips64.c               | 1378 ++++++++++++++++++++++++++++++++++++++++++++++++
 netdump.c              |    4 +
 symbols.c              |   10 +
 10 files changed, 1632 insertions(+), 22 deletions(-)
 create mode 100644 gdb-7.6-loongson.patch
 create mode 100644 mips64.c

-- 
2.1.0




More information about the Crash-utility mailing list