From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20424 invoked by alias); 7 Jul 2005 19:21:08 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20007 invoked by uid 22791); 7 Jul 2005 19:20:47 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 07 Jul 2005 19:20:47 +0000 Received: from drow by nevyn.them.org with local (Exim 4.51) id 1DqbYj-0002yr-5M; Thu, 07 Jul 2005 14:57:17 -0400 Date: Thu, 07 Jul 2005 19:21:00 -0000 From: Daniel Jacobowitz To: Klaus Zeitler Cc: gdb@sources.redhat.com Subject: Re: gdb needs full C++ function signature to set a breakpoint Message-ID: <20050707185717.GA11441@nevyn.them.org> Mail-Followup-To: Klaus Zeitler , gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-07/txt/msg00071.txt.bz2 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