This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] print/x of a float/double should printf ("%a")
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 18 Feb 2007 22:25:54 +0200
- Subject: Re: [RFC] print/x of a float/double should printf ("%a")
- References: <20070218153705.GA25940@host0.dyn.jankratochvil.net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Sun, 18 Feb 2007 16:37:06 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>
> currently "print/x (float) a" does an integer "print/x (long) a".
>
> Ulrich Drepper requested to use instead printf ("%a") (man excerpt below):
Thanks.
Two comments:
. Please submit an appropriate change for the manual.
. I don't like this bit:
> Systems not supporting "%a" will print the value as
> print (float) a
> which differs from the current way there:
> print/x (long) a
This makes this an incompatible change. For this reason, I'd prefer a
new format letter, like Andreas suggested.