This is the mail archive of the gdb-prs@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]

[Bug symtab/11912] C++ name lookup fails


http://sourceware.org/bugzilla/show_bug.cgi?id=11912

--- Comment #13 from Marc Khouzam <marc.khouzam at ericsson dot com> 2011-08-26 15:38:01 UTC ---
(In reply to comment #12)
> Is this really a step into the right direction? Isn't the problem rather on the
> "input" side? I think the user should not be required to use 'struct foo' or
> 'class foo' when just using 'foo' is correct C++.

I agree with you.  However, I did not know how to fix the C++ parser to accept
'foo'.

The fix I committed does not solve this PR, but solves a side-effect that would
cause the frontend to get a syntax error using an expression that GDB said to
use.  For details, please see:

http://sourceware.org/ml/gdb-patches/2010-09/msg00204.html

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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