This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb problem with 'malloc' in unnamed namespace
- From: Andreas Schwab <schwab at suse dot de>
- To: André Pönitz <apoenitz at trolltech dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 05 Aug 2008 14:39:45 +0200
- Subject: Re: gdb problem with 'malloc' in unnamed namespace
- References: <200808051407.14091.apoenitz@trolltech.com>
André Pönitz <apoenitz@trolltech.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
here.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."