From: Daniel Jacobowitz <drow@false.org>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] output remote protocol timestamps with "set debug remote"
Date: Wed, 19 Nov 2008 13:11:00 -0000 [thread overview]
Message-ID: <20081118214535.GA678@caradoc.them.org> (raw)
In-Reply-To: <200811141850.28537.pedro@codesourcery.com>
On Fri, Nov 14, 2008 at 06:50:28PM +0000, Pedro Alves wrote:
> I'm making use of this:
>
> /* Debugging level. 0 is off, and non-zero values mean to print some debug
> information (higher values, more information). */
> extern int remote_debug;
>
> ... to enable timestamps, you do "set debug remote 2". level 1
> still outputs the same as usual.
It's such a good idea, that it's already there :-) "set debug
timestamp". However, I'd never tried it with remote; it clearly
does not work right for multiple printf calls in a single debugging
message. I'd suggest fixing that, instead.
1227044669:904148 Sending packet: 1227044669:904155 $1227044669:904161
q1227044669:904166 S1227044669:904172 y1227044669:904177
m1227044669:904182 b1227044669:904188 o1227044669:904193
l1227044669:904198 :1227044669:904205 :1227044669:904211
#1227044669:904217 51227044669:904222 b1227044669:904228
...1227044669:904279 Ack
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2008-11-18 21:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-14 23:21 Pedro Alves
2008-11-19 11:37 ` Joel Brobecker
2008-11-22 15:31 ` Michael Snyder
2008-11-19 13:11 ` Daniel Jacobowitz [this message]
2008-11-19 14:07 ` Pedro Alves
2008-11-19 23:07 ` Daniel Jacobowitz
2008-11-20 1:46 ` Pedro Alves
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=20081118214535.GA678@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=pedro@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