On Sun, 18 Feb 2007 21:25:54 +0100, Eli Zaretskii wrote: > > Date: Sun, 18 Feb 2007 16:37:06 +0100 > > From: Jan Kratochvil > > > > currently "print/x (float) a" does an integer "print/x (long) a". > > > > Ulrich Drepper requested to use instead printf ("%a") (man excerpt below): ... > . Please submit an appropriate change for the manual. Attached. > > 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. I believe this change is to make the most common default action more valid. Also some hardly noticeable changes are what separate GDB stable release are for, aren't they? If someone has very specific printing needs s/he still can use the GDB function `printf' (instead of `print') or even to use `call printf' with the right format strings and parameters casting. As I did not find general consensus here I just updated the patch by the doc part and also implemented a forgotten "%a"/"%A" for the GDB `printf' command. Regards, Jan