crash-utility / crash

Linux kernel crash utility
https://crash-utility.github.io
837 stars 274 forks source link

How to support for android15-linux6.6 gki crash tools ? #187

Closed KangHoupeng closed 4 months ago

KangHoupeng commented 4 months ago

The gki_defconfig supports CONFIG_DEBUG_INFO_COMPRESSED_ZSTD configuration, and when I build crash tools by using the command 'make zstd target=ARM64', the gdb_session_init anoundced that 'no debugging data available'.

BFD: /home/kanghoupeng/projects/crashdump/android/vmlinux: unknown type [0x13] section.relr.dyn' BFD: /home/kanghoupeng/projects/crashdump/android/vmlinux: unable to initialize decompress status for section .debug_aranges "0x7ffd54714e70s": not in executable format: file format not recognized crash: gdb_session_init 168 ... crash: android/vmlinux: [2] no debugging data available `

KangHoupeng commented 4 months ago

It's done. llvm-objcopy --decompress-debug-sections vmlinux