This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/13225] GDB fails to find non-overloaded C++ function
- From: "jimb at red-bean dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 11 Oct 2011 19:30:21 +0000
- Subject: [Bug c++/13225] GDB fails to find non-overloaded C++ function
- Auto-submitted: auto-generated
- References: <bug-13225-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13225
--- Comment #3 from Jim Blandy <jimb@red-bean.com> 2011-10-11 19:30:21 UTC ---
Thanks for the patch, Keith!
You say:
While a real source file would require the cast, there is no reason why we
cannot be a little more permissive in the debugger.
I don't think that's correct. The transcript (with its missing newline after
the g++ command...) shows that the expression I try to evaluate in GDB is
identical to the expression appearing in the source code, which the compiler
accepts without complaint. The C++ language does not require that cast.
--
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.