[RFA] Implement 'print -raw-values' and 'set print raw-values on|off'

Philippe Waroquiers philippe.waroquiers@skynet.be
Thu Aug 8 18:59:00 GMT 2019


On Wed, 2019-08-07 at 15:38 -0600, Tom Tromey wrote:
> > > > > > "Philippe" == Philippe Waroquiers <philippe.waroquiers@skynet.be> writes:
> 
> Philippe> This patch implements -raw-values option that tells to ignore the
> Philippe> active pretty printers when printing a value.
> 
> FWIW I think "print/r" already covers this.
Yes.
In fact, someone at my work was using /r, and I had no idea what this was.
Searching at home, I found the print -raw doc, but not the -raw option.
BTW, I could not find any description of /r:
   nothing found in help print, and nothing found in the manual.
Is /r documented somewhere ? 
(might be good to reference /r in the -raw-values doc and manual).
> 
> Maybe it's desirable to have a complete-able option for it?
Yes.  /r only works on the current print command.
-raw-values is complete-able, corresponds to a GDB setting,
can be used in the "with" command.

Philippe



More information about the Gdb-patches mailing list