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: [commit] Delay reading of struct members


On Thu, Sep 09, 2010 at 01:53:29PM -0600, Tom Tromey wrote:
> >>>>> "Daniel" == Daniel Jacobowitz <dan@codesourcery.com> writes:
> 
> Daniel> At the last minute I broke the test for RealView; just a cosmetic
> Daniel> difference (something GCC doesn't support, but should).
> 
> What is it that GCC should support?
> 
> Daniel> 	* gdb.cp/templates.exp (test_template_args): Allow "struct".
> 
> I looked at the .cc and your patch, but I don't understand what GCC
> should do differently.
> 
> Also, could you file a GCC enhancement request for whatever it is?
> I would appreciate that.

Well, I thought the difference was that the source code said "struct X
{ }", and GDB displayed "class X { }".  Which was GCC PR 7081, fixed
many moons ago.  But it looks like it's the other way round; RealView
was incorrectly displaying "struct X { }".  Sorry for the confusion!

-- 
Daniel Jacobowitz
CodeSourcery


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