From: Yao Qi <yao@codesourcery.com>
To: Pedro Alves <alves.ped@gmail.com>
Cc: <gdb-patches@sourceware.org>
Subject: Re: [patch] Differentiate dbg msg on IPA and gdbserver
Date: Wed, 04 Jan 2012 14:37:00 -0000 [thread overview]
Message-ID: <4F046406.2090404@codesourcery.com> (raw)
In-Reply-To: <4F043FD1.1060008@gmail.com>
On 01/04/2012 08:02 PM, Pedro Alves wrote:
> Wouldn't that be better "ipa/tracepoint:" ? Anyway, okay.
Thanks for the review. This is what I committed.
http://sourceware.org/ml/gdb-cvs/2012-01/msg00045.html
--
Yao (é½å°§)
2012-01-04 Yao Qi <yao@codesourcery.com>
* tracepoint.c (trace_vdebug): Differentiate debug message
between gdbserver and IPA.
Index: gdb/gdbserver/tracepoint.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/tracepoint.c,v
retrieving revision 1.40
diff -u -r1.40 tracepoint.c
--- gdb/gdbserver/tracepoint.c 4 Jan 2012 08:17:24 -0000 1.40
+++ gdb/gdbserver/tracepoint.c 4 Jan 2012 14:33:48 -0000
@@ -63,7 +63,11 @@
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);
}
prev parent reply other threads:[~2012-01-04 14:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-04 3:14 Yao Qi
2012-01-04 12:02 ` Pedro Alves
2012-01-04 14:37 ` Yao Qi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F046406.2090404@codesourcery.com \
--to=yao@codesourcery.com \
--cc=alves.ped@gmail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox