gdb/gdbserver/
authorYao Qi <yao@codesourcery.com>
Wed, 4 Jan 2012 14:34:49 +0000 (14:34 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 4 Jan 2012 14:34:49 +0000 (14:34 +0000)
* tracepoint.c (trace_vdebug): Differentiate debug message
between gdbserver and IPA.

gdb/gdbserver/ChangeLog
gdb/gdbserver/tracepoint.c

index 9a69fa2ef341f4a2e94a78c798b7fd057a4712bc..75e043b93f346a5d654e7476ebf4a5a8c9e9c5a3 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-04  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (trace_vdebug): Differentiate debug message
+       between gdbserver and IPA.
+
 2012-01-03  Yao Qi  <yao@codesourcery.com>
 
        * tracepoint.c (tracepoint_was_hit): Don't collect for
index ca3267cbf4e8d2ccc95c8589e6096940d0d7b214..8ed5aab334590feb6b49d94f9b9b0263a8cdac95 100644 (file)
@@ -63,7 +63,11 @@ trace_vdebug (const char *fmt, ...)
 
   va_start (ap, fmt);
   vsprintf (buf, fmt, ap);
+#ifdef IN_PROCESS_AGENT
+  fprintf (stderr, "ipa/tracepoint: %s\n", buf);
+#else
   fprintf (stderr, "gdbserver/tracepoint: %s\n", buf);
+#endif
   va_end (ap);
 }