defined.
[IN_PROCESS_AGENT] (debug_agent): New global variable.
+2012-01-06 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c [IN_PROCESS_AGENT] (debug_threads): Macro
+ defined.
+ [IN_PROCESS_AGENT] (debug_agent): New global variable.
+
2012-01-04 Yao Qi <yao@codesourcery.com>
* tracepoint.c (cmd_qtdp): Print debug message
va_end (ap);
}
+#ifdef IN_PROCESS_AGENT
+#define debug_threads debug_agent
+#endif
+
#define trace_debug_1(level, fmt, args...) \
do { \
- if (level <= debug_threads) \
+ if (level <= debug_threads) \
trace_vdebug ((fmt), ##args); \
} while (0)
GDBserver side. */
#ifdef IN_PROCESS_AGENT
-int debug_threads = 0;
+int debug_agent = 0;
int
read_inferior_memory (CORE_ADDR memaddr, unsigned char *myaddr, int len)