Rename *lldbg to *llerr
This commit is contained in:
parent
e82a54bf18
commit
f4bae25e32
@ -160,7 +160,7 @@ static int telnetd_daemon(int argc, char *argv[])
|
|||||||
goto errout_with_socket;
|
goto errout_with_socket;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Now go silent. Only the lldbg family of debug functions should
|
/* Now go silent. Only the llerr family of debug functions should
|
||||||
* be used after this point because these do not depend on stdout
|
* be used after this point because these do not depend on stdout
|
||||||
* being available.
|
* being available.
|
||||||
*/
|
*/
|
||||||
@ -181,7 +181,7 @@ static int telnetd_daemon(int argc, char *argv[])
|
|||||||
acceptsd = accept(listensd, (struct sockaddr*)&myaddr, &addrlen);
|
acceptsd = accept(listensd, (struct sockaddr*)&myaddr, &addrlen);
|
||||||
if (acceptsd < 0)
|
if (acceptsd < 0)
|
||||||
{
|
{
|
||||||
nlldbg("accept failed: %d\n", errno);
|
nllerr("accept failed: %d\n", errno);
|
||||||
goto errout_with_socket;
|
goto errout_with_socket;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -192,7 +192,7 @@ static int telnetd_daemon(int argc, char *argv[])
|
|||||||
ling.l_linger = 30; /* timeout is seconds */
|
ling.l_linger = 30; /* timeout is seconds */
|
||||||
if (setsockopt(acceptsd, SOL_SOCKET, SO_LINGER, &ling, sizeof(struct linger)) < 0)
|
if (setsockopt(acceptsd, SOL_SOCKET, SO_LINGER, &ling, sizeof(struct linger)) < 0)
|
||||||
{
|
{
|
||||||
nlldbg("setsockopt failed: %d\n", errno);
|
nllerr("setsockopt failed: %d\n", errno);
|
||||||
goto errout_with_acceptsd;
|
goto errout_with_acceptsd;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -203,7 +203,7 @@ static int telnetd_daemon(int argc, char *argv[])
|
|||||||
devpath = telnetd_driver(acceptsd, daemon);
|
devpath = telnetd_driver(acceptsd, daemon);
|
||||||
if (devpath == NULL)
|
if (devpath == NULL)
|
||||||
{
|
{
|
||||||
nlldbg("telnetd_driver failed\n");
|
nllerr("telnetd_driver failed\n");
|
||||||
goto errout_with_acceptsd;
|
goto errout_with_acceptsd;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -213,7 +213,7 @@ static int telnetd_daemon(int argc, char *argv[])
|
|||||||
drvrfd = open(devpath, O_RDWR);
|
drvrfd = open(devpath, O_RDWR);
|
||||||
if (drvrfd < 0)
|
if (drvrfd < 0)
|
||||||
{
|
{
|
||||||
nlldbg("Failed to open %s: %d\n", devpath, errno);
|
nllerr("Failed to open %s: %d\n", devpath, errno);
|
||||||
goto errout_with_acceptsd;
|
goto errout_with_acceptsd;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -243,7 +243,7 @@ static int telnetd_daemon(int argc, char *argv[])
|
|||||||
daemon->entry, NULL);
|
daemon->entry, NULL);
|
||||||
if (pid < 0)
|
if (pid < 0)
|
||||||
{
|
{
|
||||||
nlldbg("Failed start the telnet session: %d\n", errno);
|
nllerr("Failed start the telnet session: %d\n", errno);
|
||||||
goto errout_with_acceptsd;
|
goto errout_with_acceptsd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -397,7 +397,7 @@ static void telnetd_sendopt(FAR struct telnetd_dev_s *priv, uint8_t option,
|
|||||||
telnetd_dumpbuffer("Send optbuf", optbuf, 4);
|
telnetd_dumpbuffer("Send optbuf", optbuf, 4);
|
||||||
if (send(priv->td_psock, optbuf, 4, 0) < 0)
|
if (send(priv->td_psock, optbuf, 4, 0) < 0)
|
||||||
{
|
{
|
||||||
nlldbg("Failed to send TELNET_IAC\n");
|
nllerr("Failed to send TELNET_IAC\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -498,7 +498,7 @@ static int telnetd_close(FAR struct file *filep)
|
|||||||
ret = asprintf(&devpath, TELNETD_DEVFMT, priv->td_minor);
|
ret = asprintf(&devpath, TELNETD_DEVFMT, priv->td_minor);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
nlldbg("Failed to allocate the driver path\n");
|
nllerr("Failed to allocate the driver path\n");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -507,7 +507,7 @@ static int telnetd_close(FAR struct file *filep)
|
|||||||
ret = unregister_driver(devpath);
|
ret = unregister_driver(devpath);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
nlldbg("Failed to unregister the driver %s: %d\n", devpath, ret);
|
nllerr("Failed to unregister the driver %s: %d\n", devpath, ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
free(devpath);
|
free(devpath);
|
||||||
@ -645,7 +645,7 @@ static ssize_t telnetd_write(FAR struct file *filep, FAR const char *buffer, siz
|
|||||||
ret = send(priv->td_psock, priv->td_txbuffer, ncopied, 0);
|
ret = send(priv->td_psock, priv->td_txbuffer, ncopied, 0);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
nlldbg("psock_send failed '%s': %d\n", priv->td_txbuffer, ret);
|
nllerr("psock_send failed '%s': %d\n", priv->td_txbuffer, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -662,7 +662,7 @@ static ssize_t telnetd_write(FAR struct file *filep, FAR const char *buffer, siz
|
|||||||
ret = send(priv->td_psock, priv->td_txbuffer, ncopied, 0);
|
ret = send(priv->td_psock, priv->td_txbuffer, ncopied, 0);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
nlldbg("psock_send failed '%s': %d\n", priv->td_txbuffer, ret);
|
nllerr("psock_send failed '%s': %d\n", priv->td_txbuffer, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -750,7 +750,7 @@ FAR char *telnetd_driver(long sd, FAR struct telnetd_s *daemon)
|
|||||||
priv = (FAR struct telnetd_dev_s*)malloc(sizeof(struct telnetd_dev_s));
|
priv = (FAR struct telnetd_dev_s*)malloc(sizeof(struct telnetd_dev_s));
|
||||||
if (!priv)
|
if (!priv)
|
||||||
{
|
{
|
||||||
nlldbg("Failed to allocate the driver data structure\n");
|
nllerr("Failed to allocate the driver data structure\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -786,7 +786,7 @@ FAR char *telnetd_driver(long sd, FAR struct telnetd_s *daemon)
|
|||||||
ret = asprintf(&devpath, TELNETD_DEVFMT, priv->td_minor);
|
ret = asprintf(&devpath, TELNETD_DEVFMT, priv->td_minor);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
nlldbg("Failed to allocate the driver path\n");
|
nllerr("Failed to allocate the driver path\n");
|
||||||
goto errout_with_dev;
|
goto errout_with_dev;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -795,7 +795,7 @@ FAR char *telnetd_driver(long sd, FAR struct telnetd_s *daemon)
|
|||||||
ret = register_driver(devpath, &g_telnetdfops, 0666, priv);
|
ret = register_driver(devpath, &g_telnetdfops, 0666, priv);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
nlldbg("Failed to register the driver %s: %d\n", devpath, ret);
|
nllerr("Failed to register the driver %s: %d\n", devpath, ret);
|
||||||
goto errout_with_devpath;
|
goto errout_with_devpath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -74,7 +74,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -475,7 +475,7 @@ void ftpc_timeout(int argc, uint32_t arg1, ...)
|
|||||||
{
|
{
|
||||||
FAR struct ftpc_session_s *session = (FAR struct ftpc_session_s *)arg1;
|
FAR struct ftpc_session_s *session = (FAR struct ftpc_session_s *)arg1;
|
||||||
|
|
||||||
nlldbg("Timeout!\n");
|
nllerr("Timeout!\n");
|
||||||
DEBUGASSERT(argc == 1 && session);
|
DEBUGASSERT(argc == 1 && session);
|
||||||
kill(session->pid, CONFIG_FTP_SIGNAL);
|
kill(session->pid, CONFIG_FTP_SIGNAL);
|
||||||
}
|
}
|
||||||
|
@ -226,7 +226,7 @@ static int telnetd_daemon(int argc, char *argv[])
|
|||||||
goto errout_with_socket;
|
goto errout_with_socket;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Now go silent. Only the lldbg family of debug functions should
|
/* Now go silent. Only the llerr family of debug functions should
|
||||||
* be used after this point because these do not depend on stdout
|
* be used after this point because these do not depend on stdout
|
||||||
* being available.
|
* being available.
|
||||||
*/
|
*/
|
||||||
@ -259,7 +259,7 @@ static int telnetd_daemon(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: accept failed: %d\n", errval);
|
nllerr("ERROR: accept failed: %d\n", errval);
|
||||||
goto errout_with_socket;
|
goto errout_with_socket;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -271,7 +271,7 @@ static int telnetd_daemon(int argc, char *argv[])
|
|||||||
ling.l_linger = 30; /* timeout is seconds */
|
ling.l_linger = 30; /* timeout is seconds */
|
||||||
if (setsockopt(acceptsd, SOL_SOCKET, SO_LINGER, &ling, sizeof(struct linger)) < 0)
|
if (setsockopt(acceptsd, SOL_SOCKET, SO_LINGER, &ling, sizeof(struct linger)) < 0)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: setsockopt failed: %d\n", errno);
|
nllerr("ERROR: setsockopt failed: %d\n", errno);
|
||||||
goto errout_with_acceptsd;
|
goto errout_with_acceptsd;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -281,7 +281,7 @@ static int telnetd_daemon(int argc, char *argv[])
|
|||||||
fd = open("/dev/telnet", O_RDONLY);
|
fd = open("/dev/telnet", O_RDONLY);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: open(/dev/telnet) failed: %d\n", errno);
|
nllerr("ERROR: open(/dev/telnet) failed: %d\n", errno);
|
||||||
goto errout_with_acceptsd;
|
goto errout_with_acceptsd;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -297,7 +297,7 @@ static int telnetd_daemon(int argc, char *argv[])
|
|||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: open(/dev/telnet) failed: %d\n", errno);
|
nllerr("ERROR: open(/dev/telnet) failed: %d\n", errno);
|
||||||
goto errout_with_acceptsd;
|
goto errout_with_acceptsd;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -307,7 +307,7 @@ static int telnetd_daemon(int argc, char *argv[])
|
|||||||
drvrfd = open(session.ts_devpath, O_RDWR);
|
drvrfd = open(session.ts_devpath, O_RDWR);
|
||||||
if (drvrfd < 0)
|
if (drvrfd < 0)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: Failed to open %s: %d\n", session.ts_devpath, errno);
|
nllerr("ERROR: Failed to open %s: %d\n", session.ts_devpath, errno);
|
||||||
goto errout_with_acceptsd;
|
goto errout_with_acceptsd;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -333,7 +333,7 @@ static int telnetd_daemon(int argc, char *argv[])
|
|||||||
daemon->entry, NULL);
|
daemon->entry, NULL);
|
||||||
if (pid < 0)
|
if (pid < 0)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: Failed start the telnet session: %d\n", errno);
|
nllerr("ERROR: Failed start the telnet session: %d\n", errno);
|
||||||
goto errout_with_acceptsd;
|
goto errout_with_acceptsd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,30 +58,30 @@
|
|||||||
|
|
||||||
/* Debug output from this file is normally suppressed. If enabled, be aware
|
/* Debug output from this file is normally suppressed. If enabled, be aware
|
||||||
* that output to stdout will interfere with CGI programs (you could use the
|
* that output to stdout will interfere with CGI programs (you could use the
|
||||||
* the low-level debug (lldbg) functions which probably do not use stdout
|
* the low-level debug (llerr) functions which probably do not use stdout
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_THTTPD_FDWATCH_DEBUG
|
#ifdef CONFIG_THTTPD_FDWATCH_DEBUG
|
||||||
# ifdef CONFIG_CPP_HAVE_VARARGS
|
# ifdef CONFIG_CPP_HAVE_VARARGS
|
||||||
# define fwdbg(format, ...) ndbg(format, ##__VA_ARGS__)
|
# define fwdbg(format, ...) ndbg(format, ##__VA_ARGS__)
|
||||||
# define fwlldbg(format, ...) nlldbg(format, ##__VA_ARGS__)
|
# define fwllerr(format, ...) nllerr(format, ##__VA_ARGS__)
|
||||||
# define fwinfo(format, ...) ninfo(format, ##__VA_ARGS__)
|
# define fwinfo(format, ...) ninfo(format, ##__VA_ARGS__)
|
||||||
# define fwllinfo(format, ...) nllinfo(format, ##__VA_ARGS__)
|
# define fwllinfo(format, ...) nllinfo(format, ##__VA_ARGS__)
|
||||||
# else
|
# else
|
||||||
# define fwdbg ndbg
|
# define fwdbg ndbg
|
||||||
# define fwlldbg nlldbg
|
# define fwllerr nllerr
|
||||||
# define fwinfo ninfo
|
# define fwinfo ninfo
|
||||||
# define fwllinfo nllinfo
|
# define fwllinfo nllinfo
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# ifdef CONFIG_CPP_HAVE_VARARGS
|
# ifdef CONFIG_CPP_HAVE_VARARGS
|
||||||
# define fwdbg(x...)
|
# define fwdbg(x...)
|
||||||
# define fwlldbg(x...)
|
# define fwllerr(x...)
|
||||||
# define fwinfo(x...)
|
# define fwinfo(x...)
|
||||||
# define fwllinfo(x...)
|
# define fwllinfo(x...)
|
||||||
# else
|
# else
|
||||||
# define fwdbg (void)
|
# define fwdbg (void)
|
||||||
# define fwlldbg (void)
|
# define fwllerr (void)
|
||||||
# define fwinfo (void)
|
# define fwinfo (void)
|
||||||
# define fwllinfo (void)
|
# define fwllinfo (void)
|
||||||
# endif
|
# endif
|
||||||
|
@ -378,7 +378,7 @@ static inline int cgi_interpose_input(struct cgi_conn_s *cc)
|
|||||||
{
|
{
|
||||||
if (errno != EINTR)
|
if (errno != EINTR)
|
||||||
{
|
{
|
||||||
nlldbg("read failed: %d\n", errno);
|
nllerr("read failed: %d\n", errno);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -391,7 +391,7 @@ static inline int cgi_interpose_input(struct cgi_conn_s *cc)
|
|||||||
nllinfo("nbytes_written: %d\n", nbytes_written);
|
nllinfo("nbytes_written: %d\n", nbytes_written);
|
||||||
if (nbytes_written != nbytes_read)
|
if (nbytes_written != nbytes_read)
|
||||||
{
|
{
|
||||||
nlldbg("httpd_write failed\n");
|
nllerr("httpd_write failed\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
cgi_dumpbuffer("Sent to CGI:", cc->inbuf.buffer, nbytes_written);
|
cgi_dumpbuffer("Sent to CGI:", cc->inbuf.buffer, nbytes_written);
|
||||||
@ -469,7 +469,7 @@ static inline int cgi_interpose_output(struct cgi_conn_s *cc)
|
|||||||
{
|
{
|
||||||
if (errno != EAGAIN)
|
if (errno != EAGAIN)
|
||||||
{
|
{
|
||||||
nlldbg("read: %d\n", errno);
|
nllerr("read: %d\n", errno);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
@ -651,7 +651,7 @@ static inline int cgi_interpose_output(struct cgi_conn_s *cc)
|
|||||||
{
|
{
|
||||||
if (errno != EAGAIN)
|
if (errno != EAGAIN)
|
||||||
{
|
{
|
||||||
nlldbg("read: %d\n", errno);
|
nllerr("read: %d\n", errno);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
@ -720,7 +720,7 @@ static int cgi_child(int argc, char **argv)
|
|||||||
cc = (FAR struct cgi_conn_s*)httpd_malloc(sizeof(struct cgi_conn_s));
|
cc = (FAR struct cgi_conn_s*)httpd_malloc(sizeof(struct cgi_conn_s));
|
||||||
if (!cc)
|
if (!cc)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: cgi_conn allocation failed\n");
|
nllerr("ERROR: cgi_conn allocation failed\n");
|
||||||
close(hc->conn_fd);
|
close(hc->conn_fd);
|
||||||
goto errout;
|
goto errout;
|
||||||
}
|
}
|
||||||
@ -768,7 +768,7 @@ static int cgi_child(int argc, char **argv)
|
|||||||
ret = pipe(pipefd);
|
ret = pipe(pipefd);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: STDIN pipe: %d\n", errno);
|
nllerr("ERROR: STDIN pipe: %d\n", errno);
|
||||||
goto errout_with_cgiconn;
|
goto errout_with_cgiconn;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -784,7 +784,7 @@ static int cgi_child(int argc, char **argv)
|
|||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: STDIN dup2: %d\n", errno);
|
nllerr("ERROR: STDIN dup2: %d\n", errno);
|
||||||
goto errout_with_descriptors;
|
goto errout_with_descriptors;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -799,7 +799,7 @@ static int cgi_child(int argc, char **argv)
|
|||||||
ret = pipe(pipefd);
|
ret = pipe(pipefd);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: STDOUT pipe: %d\n", errno);
|
nllerr("ERROR: STDOUT pipe: %d\n", errno);
|
||||||
goto errout_with_descriptors;
|
goto errout_with_descriptors;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -815,7 +815,7 @@ static int cgi_child(int argc, char **argv)
|
|||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: STDOUT dup2: %d\n", errno);
|
nllerr("ERROR: STDOUT dup2: %d\n", errno);
|
||||||
goto errout_with_descriptors;
|
goto errout_with_descriptors;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -842,7 +842,7 @@ static int cgi_child(int argc, char **argv)
|
|||||||
httpd_realloc_str(&cc->outbuf.buffer, &cc->outbuf.size, CONFIG_THTTPD_CGIOUTBUFFERSIZE);
|
httpd_realloc_str(&cc->outbuf.buffer, &cc->outbuf.size, CONFIG_THTTPD_CGIOUTBUFFERSIZE);
|
||||||
if (!cc->outbuf.buffer)
|
if (!cc->outbuf.buffer)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: hdr allocation failed\n");
|
nllerr("ERROR: hdr allocation failed\n");
|
||||||
goto errout_with_descriptors;
|
goto errout_with_descriptors;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -851,7 +851,7 @@ static int cgi_child(int argc, char **argv)
|
|||||||
fw = fdwatch_initialize(2);
|
fw = fdwatch_initialize(2);
|
||||||
if (!fw)
|
if (!fw)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: fdwatch allocation failed\n");
|
nllerr("ERROR: fdwatch allocation failed\n");
|
||||||
goto errout_with_outbuffer;
|
goto errout_with_outbuffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -868,7 +868,7 @@ static int cgi_child(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
/* Something went wrong. */
|
/* Something went wrong. */
|
||||||
|
|
||||||
nlldbg("ERROR: execve %s: %d\n", hc->expnfilename, errno);
|
nllerr("ERROR: execve %s: %d\n", hc->expnfilename, errno);
|
||||||
goto errout_with_watch;
|
goto errout_with_watch;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -878,7 +878,7 @@ static int cgi_child(int argc, char **argv)
|
|||||||
client_data.i = child;
|
client_data.i = child;
|
||||||
if (tmr_create(NULL, cgi_kill, client_data, CONFIG_THTTPD_CGI_TIMELIMIT * 1000L, 0) == NULL)
|
if (tmr_create(NULL, cgi_kill, client_data, CONFIG_THTTPD_CGI_TIMELIMIT * 1000L, 0) == NULL)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: tmr_create(cgi_kill child) failed\n");
|
nllerr("ERROR: tmr_create(cgi_kill child) failed\n");
|
||||||
goto errout_with_watch;
|
goto errout_with_watch;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -896,7 +896,7 @@ static int cgi_child(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
if (httpd_write(cc->wrfd, &(hc->read_buf[hc->checked_idx]), nbytes) != nbytes)
|
if (httpd_write(cc->wrfd, &(hc->read_buf[hc->checked_idx]), nbytes) != nbytes)
|
||||||
{
|
{
|
||||||
nlldbg("ERROR: httpd_write failed\n");
|
nllerr("ERROR: httpd_write failed\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1072,10 +1072,10 @@ static void cgi_kill(ClientData client_data, struct timeval *nowP)
|
|||||||
|
|
||||||
/* task_delete() is a very evil API. It can leave memory stranded! */
|
/* task_delete() is a very evil API. It can leave memory stranded! */
|
||||||
|
|
||||||
nlldbg("Killing CGI child: %d\n", pid);
|
nllerr("Killing CGI child: %d\n", pid);
|
||||||
if (task_delete(pid) != 0)
|
if (task_delete(pid) != 0)
|
||||||
{
|
{
|
||||||
nlldbg("task_delete() failed: %d\n", errno);
|
nllerr("task_delete() failed: %d\n", errno);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -366,7 +366,7 @@ static void nsh_netinit_signal(int signo, FAR siginfo_t *siginfo,
|
|||||||
/* What is the count on the semaphore? Don't over-post */
|
/* What is the count on the semaphore? Don't over-post */
|
||||||
|
|
||||||
ret = sem_getvalue(&g_notify_sem, &semcount);
|
ret = sem_getvalue(&g_notify_sem, &semcount);
|
||||||
nlldbg("Entry: semcount=%d\n", semcount);
|
nllerr("Entry: semcount=%d\n", semcount);
|
||||||
|
|
||||||
if (ret == OK && semcount <= 0)
|
if (ret == OK && semcount <= 0)
|
||||||
{
|
{
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -70,7 +70,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -70,7 +70,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG_CXX
|
#ifdef CONFIG_DEBUG_CXX
|
||||||
# define cxxdbg dbg
|
# define cxxdbg dbg
|
||||||
# define cxxlldbg lldbg
|
# define cxxllerr llerr
|
||||||
# ifdef CONFIG_DEBUG_INFO
|
# ifdef CONFIG_DEBUG_INFO
|
||||||
# define cxxinfo info
|
# define cxxinfo info
|
||||||
# define cxxllinfo llinfo
|
# define cxxllinfo llinfo
|
||||||
@ -69,7 +69,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define cxxdbg(x...)
|
# define cxxdbg(x...)
|
||||||
# define cxxlldbg(x...)
|
# define cxxllerr(x...)
|
||||||
# define cxxinfo(x...)
|
# define cxxinfo(x...)
|
||||||
# define cxxllinfo(x...)
|
# define cxxllinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
@ -61,12 +61,12 @@
|
|||||||
#ifdef CONFIG_MODEM_U_BLOX_DEBUG
|
#ifdef CONFIG_MODEM_U_BLOX_DEBUG
|
||||||
# define m_dbg dbg
|
# define m_dbg dbg
|
||||||
# define m_info info
|
# define m_info info
|
||||||
# define m_vlldbg lldbg
|
# define m_vllerr llerr
|
||||||
# define m_vllinfo llinfo
|
# define m_vllinfo llinfo
|
||||||
#else
|
#else
|
||||||
# define m_dbg(x...)
|
# define m_dbg(x...)
|
||||||
# define m_info(x...)
|
# define m_info(x...)
|
||||||
# define m_lldbg(x...)
|
# define m_llerr(x...)
|
||||||
# define m_llinfo(x...)
|
# define m_llinfo(x...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user