From: Pedro Alves <alves.ped@gmail.com>
To: Yao Qi <yao@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] Differentiate dbg msg on IPA and gdbserver
Date: Wed, 04 Jan 2012 12:02:00 -0000 [thread overview]
Message-ID: <4F043FD1.1060008@gmail.com> (raw)
In-Reply-To: <4F03C408.4030701@codesourcery.com>
On 01/04/2012 03:14 AM, Yao Qi wrote:
> 2012-01-04 Yao Qi<yao@codesourcery.com>
>
> * tracepoint.c (trace_vdebug): Differentiate debug message
> between gdbserver and IPA.
> ---
> gdb/gdbserver/tracepoint.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
> index 360c14b..103a17d 100644
> --- a/gdb/gdbserver/tracepoint.c
> +++ b/gdb/gdbserver/tracepoint.c
> @@ -63,7 +63,11 @@ trace_vdebug (const char *fmt, ...)
>
> va_start (ap, fmt);
> vsprintf (buf, fmt, ap);
> +#ifdef IN_PROCESS_AGENT
> + fprintf (stderr, "ipa: %s\n", buf);
> +#else
> fprintf (stderr, "gdbserver/tracepoint: %s\n", buf);
> +#endif
Wouldn't that be better "ipa/tracepoint:" ? Anyway, okay.
--
Pedro Alves
next prev parent reply other threads:[~2012-01-04 12:02 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 [this message]
2012-01-04 14:37 ` Yao Qi
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=4F043FD1.1060008@gmail.com \
--to=alves.ped@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=yao@codesourcery.com \
/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