Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO

This commit is contained in:
Gregory Nutt 2016-06-11 11:50:38 -06:00
parent ee8a62f009
commit 56e75e9db8
50 changed files with 56 additions and 56 deletions

View File

@ -485,7 +485,7 @@ examples/ftpc
Otherwise, you will have not feeback about what is going on:
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_FTPC=y
examples/ftpd

View File

@ -180,7 +180,7 @@ static inline void telnetd_dumpbuffer(FAR const char *msg,
FAR const char *buffer,
unsigned int nbytes)
{
/* CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and CONFIG_DEBUG_NET have to be
/* CONFIG_DEBUG, CONFIG_DEBUG_INFO, and CONFIG_DEBUG_NET have to be
* defined or the following does nothing.
*/

View File

@ -65,7 +65,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -662,7 +662,7 @@ static int chat_script_run(FAR struct chat* priv)
{
FAR struct chat_line* line = priv->script;
int ret = 0;
#ifdef CONFIG_DEBUG_VERBOSE
#ifdef CONFIG_DEBUG_INFO
int line_num = 0;
#endif
@ -672,7 +672,7 @@ static int chat_script_run(FAR struct chat* priv)
if (!ret)
{
line = line->next;
#ifdef CONFIG_DEBUG_VERBOSE
#ifdef CONFIG_DEBUG_INFO
line_num++;
#endif
}

View File

@ -244,7 +244,7 @@ ssize_t tftp_recvfrom(int sd, void *buf, size_t len, struct sockaddr_in *from)
{
/* For debugging, it is helpful to start with a clean buffer */
#if defined(CONFIG_DEBUG_VERBOSE) && defined(CONFIG_DEBUG_NET)
#if defined(CONFIG_DEBUG_INFO) && defined(CONFIG_DEBUG_NET)
memset(buf, 0, len);
#endif

View File

@ -74,7 +74,7 @@
#undef CONFIG_THTTPD_BADREQUEST /* Define to enable "Bad Request" instrumentation */
#ifdef CONFIG_THTTPD_BADREQUEST
# if !defined(CONFIG_DEBUG_VERBOSE) || !defined(CONFIG_DEBUG_NET)
# if !defined(CONFIG_DEBUG_INFO) || !defined(CONFIG_DEBUG_NET)
# undef CONFIG_THTTPD_BADREQUEST
# else
# define BADREQUEST(s) nvdbg("Bad Request: \"%s\"\n", s)
@ -91,7 +91,7 @@
#undef CONFIG_THTTPD_NOTIMPLEMENTED /* Define to enable "Not Implemented" instrumentation */
#ifdef CONFIG_THTTPD_NOTIMPLEMENTED
# if !defined(CONFIG_DEBUG_VERBOSE) || !defined(CONFIG_DEBUG_NET)
# if !defined(CONFIG_DEBUG_INFO) || !defined(CONFIG_DEBUG_NET)
# undef CONFIG_THTTPD_NOTIMPLEMENTED
# else
# define NOTIMPLEMENTED(s) nvdbg("Not Implemented: \"%s\"\n", s)
@ -108,7 +108,7 @@
#undef CONFIG_THTTPD_INTERNALERROR /* Define to enable "Internal Error" instrumentation */
#ifdef CONFIG_THTTPD_INTERNALERROR
# if !defined(CONFIG_DEBUG_VERBOSE) || !defined(CONFIG_DEBUG_NET)
# if !defined(CONFIG_DEBUG_INFO) || !defined(CONFIG_DEBUG_NET)
# undef CONFIG_THTTPD_INTERNALERROR
# else
# define INTERNALERROR(s) nvdbg("Internal Error: \"%s\"\n", s)

View File

@ -193,7 +193,7 @@ static int httpd_close(struct httpd_fs_file *file)
#ifdef CONFIG_NETUTILS_HTTPD_DUMPBUFFER
static void httpd_dumpbuffer(FAR const char *msg, FAR const char *buffer, unsigned int nbytes)
{
/* CONFIG_DEBUG, CONFIG_DEBUG_VERBOSE, and CONFIG_DEBUG_NET have to be
/* CONFIG_DEBUG, CONFIG_DEBUG_INFO, and CONFIG_DEBUG_NET have to be
* defined or the following does nothing.
*/
@ -206,7 +206,7 @@ static void httpd_dumpbuffer(FAR const char *msg, FAR const char *buffer, unsign
#ifdef CONFIG_NETUTILS_HTTPD_DUMPPSTATE
static void httpd_dumppstate(struct httpd_state *pstate, const char *msg)
{
#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_VERBOSE) && defined(CONFIG_DEBUG_NET)
#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_INFO) && defined(CONFIG_DEBUG_NET)
nvdbg("[%d] pstate(%p): [%s]\n", pstate->ht_sockfd, pstate, msg);
nvdbg(" filename: [%s]\n", pstate->ht_filename);
nvdbg(" htfile len: %d\n", pstate->ht_file.len);

View File

@ -1041,10 +1041,10 @@ config NSH_NETINIT_DEBUG
depends on DEBUG
---help---
Normally debug output is controlled by DEBUG_NET. However, that
will generate a LOT of debug output, especially if DEBUG_VERBOSE is
will generate a LOT of debug output, especially if CONFIG_DEBUG_INFO is
also selected. This option is intended to force VERVOSE debug
output from the NSH network initialization logic even if DEBUG_NET
or DEBUG_VERBOSE are not selected. This allows for focused, unit-
or CONFIG_DEBUG_INFO are not selected. This allows for focused, unit-
level debug of the NSH network initialization logic.
menu "IP Address Configuration"

View File

@ -1290,7 +1290,7 @@ int cmd_mkrd(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
goto errout_with_fmt;
}
#ifdef CONFIG_DEBUG_VERBOSE
#ifdef CONFIG_DEBUG_INFO
memset(buffer, 0, sectsize * nsectors);
#endif
dbg("RAMDISK at %p\n", buffer);

View File

@ -45,8 +45,8 @@
/* Is network initialization debug forced on? */
#ifdef CONFIG_NSH_NETINIT_DEBUG
# undef CONFIG_DEBUG_VERBOSE
# define CONFIG_DEBUG_VERBOSE 1
# undef CONFIG_DEBUG_INFO
# define CONFIG_DEBUG_INFO 1
# undef CONFIG_DEBUG_NET
# define CONFIG_DEBUG_NET 1
#endif

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -61,7 +61,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -61,7 +61,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else

View File

@ -60,7 +60,7 @@
#ifdef CONFIG_DEBUG_CXX
# define cxxdbg dbg
# define cxxlldbg lldbg
# ifdef CONFIG_DEBUG_VERBOSE
# ifdef CONFIG_DEBUG_INFO
# define cxxvdbg vdbg
# define cxxllvdbg llvdbg
# else