Huang Qi c7c76534af testing/debug: Enhancement for watch address by cmd line
This patch add some command line arguments for debug
program, then you can use it to insert watchpoint or
breakpoint to arbitrary address at runtime.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2024-09-08 10:39:37 +08:00

34 lines
752 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config SYSTEM_DEBUG
tristate "Debugpoint utility"
default n
depends on ARCH_HAVE_DEBUG
depends on LIB_GDBSTUB
---help---
Enable the DEBUG test program. It is a simple
utility for testing the debug point support and
add debug points to the system by command line.
if SYSTEM_DEBUG
config SYSTEM_DEBUG_PROGNAME
string "Program name"
default "debug"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
config SYSTEM_DEBUG_PRIORITY
int "Task priority"
default 100
config SYSTEM_DEBUG_STACKSIZE
int "Stack size"
default DEFAULT_TASK_STACKSIZE
endif