This is the mail archive of the
mailing list for the GDB project.
Re: gdb problem with 'malloc' in unnamed namespace
On Tuesday 05 August 2008 14:39:45 you wrote:
> André Pönitz <email@example.com> writes:
> > So the 'malloc' from the debugged program is picked up by gdb, even if the
> > symbol name ("_ZN29_GLOBAL__N__00000000_271D34D06mallocEv") does
> > not match.
> Note that symbol lookup also considers the demangled name, which matches
Well, "demangled" in a very C-ish sense: drop all namespace and parameter
information. The symbol name contains parameter information that might
be useful to determine that this is not a suitable kind of malloc:
(anonymous namespace)::malloc(int, int)
Anyway, thanks for the great hint!