This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] proper display of reference type


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]