This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb needs full C++ function signature to set a breakpoint


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]