From: Stan Shebs <stanshebs@earthlink.net>
To: gdb-patches@sourceware.org
Subject: Re: PATCH fix start-time and stop-time in trace-status
Date: Tue, 16 Oct 2012 17:07:00 -0000 [thread overview]
Message-ID: <507D942C.5010302@earthlink.net> (raw)
In-Reply-To: <507D7A10.1060202@redhat.com>
On 10/16/12 8:15 AM, Pedro Alves wrote:
> On 10/16/2012 03:59 PM, Dmitry Kozlov wrote:
>> Hi Tom,
>> Pedro already asked to rewrite this patch at gdbserver-side and use hex instead of decimal.
>> See http://sourceware.org/ml/gdb-patches/2012-10/msg00193.html
>> Could you setup one common opinion about what way is right?
> Since the RSP uses hex everywhere, the argument for keeping decimal format because
> it's human-readable in the remote log doesn't really hold. Instead, having different
> formats makes reading the logs _worse_ (forcing one to wonder "is this in hex, or
> in decimal"). Given that there's no backwards compatibility issue here, I much
> prefer fixing gdbserver.
>
Yes, it looks like it was simply a brain cramp on my part, I was
probably thinking plongest put out hex digits and didn't notice because
the times printed on the host looked plausible.
(Ironically, a decimal-point encoding would probably be the most
futureproof, right now the protocol assumes timestamps are in
microseconds and a target reporting in nanoseconds would either lose
data or cause all kinds of confusion.)
Stan
stan@codesourcery.com
next prev parent reply other threads:[~2012-10-16 17:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-27 12:22 Dmitry Kozlov
2012-09-27 15:14 ` Tom Tromey
2012-10-01 13:41 ` Dmitry Kozlov
2012-10-15 19:11 ` Tom Tromey
2012-10-16 14:59 ` Dmitry Kozlov
2012-10-16 15:15 ` Pedro Alves
2012-10-16 17:07 ` Stan Shebs [this message]
2012-10-16 16:51 ` Tom Tromey
2012-10-08 13:54 ` Dmitry Kozlov
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=507D942C.5010302@earthlink.net \
--to=stanshebs@earthlink.net \
--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