system: Rename debug to debugpoint

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2024-09-08 18:30:38 +08:00 committed by Xiang Xiao
parent c7c76534af
commit 2f5dc9c24d
5 changed files with 20 additions and 20 deletions

View File

@ -1,5 +1,5 @@
# ##############################################################################
# apps/system/debug/CMakeLists.txt
# apps/system/debugpoint/CMakeLists.txt
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
@ -18,14 +18,14 @@
#
# ##############################################################################
if(CONFIG_SYSTEM_DEBUG)
if(CONFIG_SYSTEM_DEBUGPOINT)
nuttx_add_application(
NAME
${CONFIG_SYSTEM_DEBUG_PROGNAME}
${CONFIG_SYSTEM_DEBUGPOINT_PROGNAME}
SRCS
debug.c
STACKSIZE
${CONFIG_SYSTEM_DEBUG_STACKSIZE}
${CONFIG_SYSTEM_DEBUGPOINT_STACKSIZE}
PRIORITY
${CONFIG_SYSTEM_DEBUG_PRIORITY})
${CONFIG_SYSTEM_DEBUGPOINT_PRIORITY})
endif()

View File

@ -3,30 +3,30 @@
# see the file kconfig-language.txt in the NuttX tools repository.
#
config SYSTEM_DEBUG
config SYSTEM_DEBUGPOINT
tristate "Debugpoint utility"
default n
depends on ARCH_HAVE_DEBUG
depends on LIB_GDBSTUB
---help---
Enable the DEBUG test program. It is a simple
Enable the DEBUGPOINT 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
if SYSTEM_DEBUGPOINT
config SYSTEM_DEBUG_PROGNAME
config SYSTEM_DEBUGPOINT_PROGNAME
string "Program name"
default "debug"
default "debugpoint"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
config SYSTEM_DEBUG_PRIORITY
config SYSTEM_DEBUGPOINT_PRIORITY
int "Task priority"
default 100
config SYSTEM_DEBUG_STACKSIZE
config SYSTEM_DEBUGPOINT_STACKSIZE
int "Stack size"
default DEFAULT_TASK_STACKSIZE

View File

@ -1,5 +1,5 @@
############################################################################
# apps/system/debug/Make.defs
# apps/system/debugpoint/Make.defs
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
@ -18,6 +18,6 @@
#
############################################################################
ifneq ($(CONFIG_SYSTEM_DEBUG),)
CONFIGURED_APPS += $(APPDIR)/system/debug
ifneq ($(CONFIG_SYSTEM_DEBUGPOINT),)
CONFIGURED_APPS += $(APPDIR)/system/debugpoint
endif

View File

@ -1,5 +1,5 @@
############################################################################
# apps/system/debug/Makefile
# apps/system/debugpoint/Makefile
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
@ -22,9 +22,9 @@ include $(APPDIR)/Make.defs
# debug built-in application info
PROGNAME = $(CONFIG_SYSTEM_DEBUG_PROGNAME)
PRIORITY = $(CONFIG_SYSTEM_DEBUG_PRIORITY)
STACKSIZE = $(CONFIG_SYSTEM_DEBUG_STACKSIZE)
PROGNAME = $(CONFIG_SYSTEM_DEBUGPOINT_PROGNAME)
PRIORITY = $(CONFIG_SYSTEM_DEBUGPOINT_PRIORITY)
STACKSIZE = $(CONFIG_SYSTEM_DEBUGPOINT_STACKSIZE)
MODULE = $(CONFIG_SYSTEM_DEBUG)
# source files

View File

@ -1,5 +1,5 @@
/****************************************************************************
* apps/system/debug/debug.c
* apps/system/debugpoint/debug.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with