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 @@
#define sizeof_member(type, 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...) { \
......
#include "../common.h"
#include "connection.h"
#include <assert.h>
#include <stdlib.h>
#include <unistd.h>
#include "../common.h"
#include "../debug.h"
//
#ifdef MINGW
......
#include "../common.h"
#include "msgchannel.h"
#include "connection.h"
#include <stdio.h>
#include <stdlib.h>
......@@ -11,6 +9,10 @@
#include <sys/uio.h>
#endif
#include "../common.h"
#include "../debug.h"
#include "connection.h"
//
#ifdef MINGW
......
......@@ -4,6 +4,7 @@
#include <pthread.h>
#include "common.h"
#include "debug.h"
#include "netref.h"
#include "pbmanager.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