[patch] proper display of reference type

Daniel Jacobowitz drow@false.org
Mon Sep 3 20:57:00 GMT 2007


On Wed, Aug 29, 2007 at 05:41:34PM +0200, Thomas Richter wrote:
> Hi folks,
> 
> the following patch fixes the display of reference types, e.g. selects
> the proper default layout for their display. This problem has been reported
> twice already (*sigh*) and is still open....
> 
> It has to be applied to gdb/printcmd.c.

I don't get it.  Why is this the right thing for references?  If an
explicit format is specified for the reference we print the value of
the reference (not the referenced value) in that format.

Please give me an example of what this changes.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list