This is the mail archive of the
mailing list for the Archer project.
On Fri, Aug 08, 2008 at 03:35:29PM -0400, Sami Wagiaalla wrote:
> (gdb) print A::inlined()::_a # I dont think this is legal c++ anyway
Correct, it is not. However inside A::inlined(), GDB should be able to
find _a in scope (not saying it does).
> My suggestion would be to always use name and never linkage name... I
> will try that out.
I suggest caution - I've spent probably two months total, scattered
over several years, on the name / linkage name problem.
Coincidentally, I'm about to look at it again; GDB uses linkage names
as a crutch, and they are not available with non-GNU compilers.