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 c++/13225] GDB fails to find non-overloaded C++ function


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.


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