From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4150 invoked by alias); 7 Nov 2003 06:40:38 -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 4122 invoked from network); 7 Nov 2003 06:40:20 -0000 Received: from unknown (HELO caduceus.fm.intel.com) (192.55.52.25) by sources.redhat.com with SMTP; 7 Nov 2003 06:40:20 -0000 Received: from talaria.fm.intel.com (talaria.fm.intel.com [10.1.192.39]) by caduceus.fm.intel.com (8.12.9-20030918-01/8.12.9/d: outer.mc,v 1.66 2003/05/22 21:17:36 rfjohns1 Exp $) with ESMTP id hA76eqor013306 for ; Fri, 7 Nov 2003 06:40:52 GMT Received: from fmsmsxvs041.fm.intel.com (fmsmsxvs041.fm.intel.com [132.233.42.126]) by talaria.fm.intel.com (8.11.6-20030918-01/8.11.6/d: inner.mc,v 1.35 2003/05/22 21:18:01 rfjohns1 Exp $) with SMTP id hA76dOe24953 for ; Fri, 7 Nov 2003 06:39:24 GMT Received: from fmsmsx332.amr.corp.intel.com ([132.233.42.148]) by fmsmsxv041-1.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2003110622305919063 for ; Thu, 06 Nov 2003 22:30:59 -0800 Received: from fmsmsx404.amr.corp.intel.com ([132.233.42.208]) by fmsmsx332.amr.corp.intel.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 6 Nov 2003 22:30:49 -0800 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable x-mimeole: Produced By Microsoft Exchange V6.0.6487.1 Subject: Unable to define breakpoint at a method. Date: Fri, 07 Nov 2003 06:40:00 -0000 Message-ID: <2BD5725B505DC54E8CDCF251DC8A2E7E029B37FC@fmsmsx404.fm.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Janarthanan, Bhagatram" To: X-OriginalArrivalTime: 07 Nov 2003 06:30:49.0612 (UTC) FILETIME=[AF4894C0:01C3A4F8] X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang) X-SW-Source: 2003-11/txt/msg00061.txt.bz2 Hi all, I am trying to define a debug breakpoint at a method of a class which is included through a shared library(linux - ".so"). I used g++ with '-g' to compile. The library has been dynamically loaded into the executable. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=09 (gdb) b Controller::instance_ the class Controller does not have any method named instance_ Hint: try 'Controller::instance_ or 'Controller::instance_ (Note leading single quote.) (gdb) b Controller::instance_ instance_add_vars(Snr_instance_t*) instance_match_suppliers(Snr_instance_t*, Snr_group_t*) (gdb) b Controller::instance_add_vars the class Controller does not have any method named instance_add_vars Hint: try 'Controller::instance_add_vars or 'Controller::instance_add_vars (Note leading single quote.) (gdb) b Controller::instance_add_vars(Snr_instance_t*) Function "Controller::instance_add_vars(Snr_instance_t*)" not defined. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D As shown above, it does display the symbol when I enter TAB-TAB. But it saya there is no such method when I enter the complete method. Is there anything I am missing? -Thanks Bhagat