This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb needs full C++ function signature to set a breakpoint
- From: Daniel Jacobowitz <drow at false dot org>
- To: Klaus Zeitler <kzeitler at lucent dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 7 Jul 2005 14:57:17 -0400
- Subject: Re: gdb needs full C++ function signature to set a breakpoint
- References: <q5g4qb76nga.fsf@lucent.com>
On Thu, Jul 07, 2005 at 10:16:05AM +0200, Klaus Zeitler wrote:
> Hello,
> I'm debugging a program with automatically generated C++ code (hundreds of
> classes with lots of ugly looking, but unique, i.e. not overloaded member
> functions). When I try to set a breakpoint on such a C++ member function name
> gdb always says: "The class ... does not have any method named ...".
This usually means that debugging information for the class was
incorrect, was incorrectly interpreted, or has not been loaded for some
reason. I'm afraid that's as helpful as I can be without a testcase...
--
Daniel Jacobowitz
CodeSourcery, LLC