mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
This commit is contained in:
+8
-8
@@ -71,7 +71,7 @@
|
||||
* handlers.
|
||||
*
|
||||
* [a-z]vdbg() -- Identical to [a-z]dbg() except that it also requires that
|
||||
* CONFIG_DEBUG_VERBOSE be defined. This is intended for general debug
|
||||
* CONFIG_DEBUG_INFO be defined. This is intended for general debug
|
||||
* output that you would normally want to suppress.
|
||||
*
|
||||
* [a-z]lldbg() -- Identical to [a-z]dbg() except this is uses special
|
||||
@@ -86,7 +86,7 @@
|
||||
* example, only [a-z]lldbg() should be used in interrupt handlers.
|
||||
*
|
||||
* [a-z]llvdbg() -- Identical to [a-z]lldbg() except that it also requires that
|
||||
* CONFIG_DEBUG_VERBOSE be defined. This is intended for general debug
|
||||
* CONFIG_DEBUG_INFO be defined. This is intended for general debug
|
||||
* output that you would normally want to suppress.
|
||||
*/
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
# define lldbg(x...)
|
||||
# endif
|
||||
|
||||
# ifdef CONFIG_DEBUG_VERBOSE
|
||||
# ifdef CONFIG_DEBUG_INFO
|
||||
# define vdbg(format, ...) \
|
||||
__arch_syslog(LOG_DEBUG, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
|
||||
|
||||
@@ -137,10 +137,10 @@
|
||||
# define llvdbg(x...)
|
||||
# endif
|
||||
|
||||
# else /* CONFIG_DEBUG_VERBOSE */
|
||||
# else /* CONFIG_DEBUG_INFO */
|
||||
# define vdbg(x...)
|
||||
# define llvdbg(x...)
|
||||
# endif /* CONFIG_DEBUG_VERBOSE */
|
||||
# endif /* CONFIG_DEBUG_INFO */
|
||||
|
||||
#else /* CONFIG_DEBUG */
|
||||
|
||||
@@ -341,7 +341,7 @@
|
||||
# ifndef CONFIG_ARCH_LOWPUTC
|
||||
# define lldbg (void)
|
||||
# endif
|
||||
# ifndef CONFIG_DEBUG_VERBOSE
|
||||
# ifndef CONFIG_DEBUG_INFO
|
||||
# define vdbg (void)
|
||||
# define llvdbg (void)
|
||||
# else
|
||||
@@ -544,7 +544,7 @@
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
# define dbgdumpbuffer(m,b,n) lib_dumpbuffer(m,b,n)
|
||||
# ifdef CONFIG_DEBUG_VERBOSE
|
||||
# ifdef CONFIG_DEBUG_INFO
|
||||
# define vdbgdumpbuffer(m,b,n) lib_dumpbuffer(m,b,n)
|
||||
# else
|
||||
# define vdbgdumpbuffer(m,b,n)
|
||||
@@ -691,7 +691,7 @@ int dbg(const char *format, ...);
|
||||
int lldbg(const char *format, ...);
|
||||
# endif
|
||||
|
||||
# ifdef CONFIG_DEBUG_VERBOSE
|
||||
# ifdef CONFIG_DEBUG_INFO
|
||||
int vdbg(const char *format, ...);
|
||||
|
||||
# ifdef CONFIG_ARCH_LOWPUTC
|
||||
|
||||
Reference in New Issue
Block a user