nuttx/tools/gdb
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
..
__init__.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
gcore.py gdb plugin: Encapsulate the gdb native command gcore as nxgcore 2024-09-20 22:07:29 +08:00
lists.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
memdump.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
thread.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
utils.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00