wangmingrong1
|
b5c5e4b850
|
gdb plugin: Encapsulate the gdb native command gcore as nxgcore
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>
|
2024-09-20 22:07:29 +08:00 |
|