Modify elf with nxgcore and call gcore:
(gdb) nxgcore --help
usage: [-h] [-o OUTPUT] [-t OBJCOPY] [-r MEMRANGE]
options:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
Gcore output file
-t OBJCOPY, --objcopy OBJCOPY
Select the appropriate architecture for the objcopy
tool
-r MEMRANGE, --memrange MEMRANGE
examples:
(gdb) nxgcore -t arm-none-eabi-objcopy -r 0x40200000,0x48000000,0x07
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| compiling_cmake.rst | ||
| compiling_make.rst | ||
| configuring.rst | ||
| debugging.rst | ||
| index.rst | ||
| install.rst | ||
| organization.rst | ||
| running.rst | ||