nuttx/tools
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
..
bl602
ci tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cxd56 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
esp32 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
esp32c3 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
esp32s2 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
esp32s3 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
espressif tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
gdb gdb plugin: Encapsulate the gdb native command gcore as nxgcore 2024-09-20 22:07:29 +08:00
imx9 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
licensing tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
lwl tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mpfs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
pic32 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
rp2040 tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
simwifi tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
zds tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
.gitignore build: add initial cmake build system 2023-07-08 13:50:48 +08:00
apps-or-nuttx-Make.defs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
b16.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
bdf-converter.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
build-globals.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
callstack.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cfgdefine.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cfgdefine.h tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cfgparser.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cfgparser.h tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
checkpatch.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
checkrelease.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
CMakeLists.txt tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cmpconfig.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
cnvwindeps.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Config.mk CI: Improvement to speed up compilation and reduce download errors. 2024-09-20 11:26:01 +08:00
configure_completion.bash tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
configure.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
configure.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
configure.sh CI: Improvement to speed up compilation and reduce download errors. 2024-09-20 11:26:01 +08:00
convert-comments.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
copydir.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
copydir.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
coredump.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
csvparser.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
csvparser.h tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
D.defs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
define.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
define.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
detab.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Directories.mk
discover.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Export.mk tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
flash_writer.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
FlatLibs.mk tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
gcov.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
gdbserver.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
gencromfs.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
ide_exporter.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
incdir.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
incdir.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
incdir.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
indent.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
initialconfig.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
jlink-nuttx.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
kasan_global.py mm/kasan: Kasan global support setting alignment length 2024-09-20 21:47:23 +08:00
kconfig2html.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
kconfig.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
KernelLibs.mk tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
LibTargets.mk
link.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
link.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
lowhex.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
macar-qcs.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Makefile.host tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
merge_config.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkallsyms.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkallsyms.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkconfig.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkconfigvars.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkctags.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkdeps.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkexport.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkfsdata.pl tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkfsdata.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mknulldeps.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkromfsimg.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mksymtab.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mksyscall.c tools/syscall: Resolve compile time warning on address validation. 2023-06-28 08:47:07 +08:00
mkversion.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
mkwindeps.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
netusb.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
noteinfo.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
nxstyle.c nxstyle.c: Eliminate case issues with compiler-generated functions 2024-09-19 03:15:29 +08:00
parsecallstack.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
parsememdump.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
parsetrace.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
pre-commit tools: add git pre-commit hook based on checkpatch.sh 2023-05-03 14:42:34 +02:00
process_config.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
ProtectedLibs.mk tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
refresh.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
rmcr.c tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Rust.defs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
sethost.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
showsize.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
showstack.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
simbridge.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
simhostroute.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
size_report.py fix: TreeNode has same attribute with NodeMixin 2023-10-09 17:51:01 -04:00
stm32_pinmap_tool.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Swift.defs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
testbuild.sh CI: Improvement to speed up compilation and reduce download errors. 2024-09-20 11:26:01 +08:00
toolchain.cmake.export Add basic support for locales in order to C++ streams to build and work for simple cases (POSIX / C locale). 2024-04-29 17:34:10 +08:00
uncrustify.cfg tools/uncrustify: disable leading space removal for block comment 2024-04-16 19:10:08 +08:00
Unix.mk CI: Improvement to speed up compilation and reduce download errors. 2024-09-20 11:26:01 +08:00
unlink.bat tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
unlink.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
version.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Win.mk tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
xmlrpc_test.py tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
Zig.defs tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00
zipme.sh tools: migrate to SPDX identifier 2024-09-10 23:11:11 +08:00