system: Rename debug to debugpoint
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
c7c76534af
commit
2f5dc9c24d
@ -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
|
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||||
# license agreements. See the NOTICE file distributed with this work for
|
# 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(
|
nuttx_add_application(
|
||||||
NAME
|
NAME
|
||||||
${CONFIG_SYSTEM_DEBUG_PROGNAME}
|
${CONFIG_SYSTEM_DEBUGPOINT_PROGNAME}
|
||||||
SRCS
|
SRCS
|
||||||
debug.c
|
debug.c
|
||||||
STACKSIZE
|
STACKSIZE
|
||||||
${CONFIG_SYSTEM_DEBUG_STACKSIZE}
|
${CONFIG_SYSTEM_DEBUGPOINT_STACKSIZE}
|
||||||
PRIORITY
|
PRIORITY
|
||||||
${CONFIG_SYSTEM_DEBUG_PRIORITY})
|
${CONFIG_SYSTEM_DEBUGPOINT_PRIORITY})
|
||||||
endif()
|
endif()
|
@ -3,30 +3,30 @@
|
|||||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
|
|
||||||
config SYSTEM_DEBUG
|
config SYSTEM_DEBUGPOINT
|
||||||
tristate "Debugpoint utility"
|
tristate "Debugpoint utility"
|
||||||
default n
|
default n
|
||||||
depends on ARCH_HAVE_DEBUG
|
depends on ARCH_HAVE_DEBUG
|
||||||
depends on LIB_GDBSTUB
|
depends on LIB_GDBSTUB
|
||||||
---help---
|
---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
|
utility for testing the debug point support and
|
||||||
add debug points to the system by command line.
|
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"
|
string "Program name"
|
||||||
default "debug"
|
default "debugpoint"
|
||||||
---help---
|
---help---
|
||||||
This is the name of the program that will be used when the NSH ELF
|
This is the name of the program that will be used when the NSH ELF
|
||||||
program is installed.
|
program is installed.
|
||||||
|
|
||||||
config SYSTEM_DEBUG_PRIORITY
|
config SYSTEM_DEBUGPOINT_PRIORITY
|
||||||
int "Task priority"
|
int "Task priority"
|
||||||
default 100
|
default 100
|
||||||
|
|
||||||
config SYSTEM_DEBUG_STACKSIZE
|
config SYSTEM_DEBUGPOINT_STACKSIZE
|
||||||
int "Stack size"
|
int "Stack size"
|
||||||
default DEFAULT_TASK_STACKSIZE
|
default DEFAULT_TASK_STACKSIZE
|
||||||
|
|
@ -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
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -18,6 +18,6 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
ifneq ($(CONFIG_SYSTEM_DEBUG),)
|
ifneq ($(CONFIG_SYSTEM_DEBUGPOINT),)
|
||||||
CONFIGURED_APPS += $(APPDIR)/system/debug
|
CONFIGURED_APPS += $(APPDIR)/system/debugpoint
|
||||||
endif
|
endif
|
@ -1,5 +1,5 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/system/debug/Makefile
|
# apps/system/debugpoint/Makefile
|
||||||
#
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -22,9 +22,9 @@ include $(APPDIR)/Make.defs
|
|||||||
|
|
||||||
# debug built-in application info
|
# debug built-in application info
|
||||||
|
|
||||||
PROGNAME = $(CONFIG_SYSTEM_DEBUG_PROGNAME)
|
PROGNAME = $(CONFIG_SYSTEM_DEBUGPOINT_PROGNAME)
|
||||||
PRIORITY = $(CONFIG_SYSTEM_DEBUG_PRIORITY)
|
PRIORITY = $(CONFIG_SYSTEM_DEBUGPOINT_PRIORITY)
|
||||||
STACKSIZE = $(CONFIG_SYSTEM_DEBUG_STACKSIZE)
|
STACKSIZE = $(CONFIG_SYSTEM_DEBUGPOINT_STACKSIZE)
|
||||||
MODULE = $(CONFIG_SYSTEM_DEBUG)
|
MODULE = $(CONFIG_SYSTEM_DEBUG)
|
||||||
|
|
||||||
# source files
|
# source files
|
@ -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
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
Loading…
Reference in New Issue
Block a user