This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How to print the return value of a template member function
- From: Andreas Schwab <schwab at suse dot de>
- To: "Peng Yu" <pengyu dot ut at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Thu, 16 Nov 2006 00:08:32 +0100
- Subject: Re: How to print the return value of a template member function
- References: <366c6f340611151453s4c938231pc8cc9096a6f1d9b1@mail.gmail.com>
"Peng Yu" <pengyu.ut@gmail.com> writes:
> I have the following program listed below this email. I want to
> inspect 'a.get<0>()' from gdb. But I got the following error message.
> Can you show me what the right way should be?
Works for me with gdb 6.5.
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."