Commit 65050bb4 authored by Lubomir Bulej's avatar Lubomir Bulej
Browse files

Remove leftover debug macros from shvm-agent/common.h

parent 22c66a9f
Pipeline #19869 failed with stages
in 3 minutes and 59 seconds
...@@ -50,26 +50,6 @@ ...@@ -50,26 +50,6 @@
#define sizeof_member(type, member) \ #define sizeof_member(type, member) \
(sizeof (((type *) 0)->member)) (sizeof (((type *) 0)->member))
/**
* Prints a debug message to stdout, unless NDEBUG is defined.
*
* @format format string for printf
* @args arguments associated with the format string
*
*/
#ifdef NDEBUG
# define debug(args...) do {} while (0)
#else
# define debug(args...) fprintf (stdout, args); fflush (stdout)
#endif
#define ldebug(args...) { \
debug ("%s:%d: ", __FUNCTION__, __LINE__); \
debug (args); \
}
// //
#define warn(args...) { \ #define warn(args...) { \
......
#include "../common.h"
#include "connection.h" #include "connection.h"
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include "../common.h"
#include "../debug.h"
// //
#ifdef MINGW #ifdef MINGW
......
#include "../common.h"
#include "msgchannel.h" #include "msgchannel.h"
#include "connection.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -11,6 +9,10 @@ ...@@ -11,6 +9,10 @@
#include <sys/uio.h> #include <sys/uio.h>
#endif #endif
#include "../common.h"
#include "../debug.h"
#include "connection.h"
// //
#ifdef MINGW #ifdef MINGW
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include <pthread.h> #include <pthread.h>
#include "common.h" #include "common.h"
#include "debug.h"
#include "netref.h" #include "netref.h"
#include "pbmanager.h" #include "pbmanager.h"
#include "jvmtiutil.h" #include "jvmtiutil.h"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment