This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/11912] C++ name lookup fails
- From: "marc.khouzam at ericsson dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 26 Aug 2011 15:38:01 +0000
- Subject: [Bug symtab/11912] C++ name lookup fails
- Auto-submitted: auto-generated
- References: <bug-11912-4717@http.sourceware.org/bugzilla/>
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.