From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32421 invoked by alias); 18 Jun 2003 14:58:39 -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 32406 invoked from network); 18 Jun 2003 14:58:39 -0000 Received: from unknown (HELO mailhub.lss.emc.com) (168.159.2.8) by sources.redhat.com with SMTP; 18 Jun 2003 14:58:39 -0000 Received: from mxic1.corp.emc.com (mxic1.isus.emc.com [168.159.129.100]) by mailhub.lss.emc.com (Switch-2.2.5/Switch-2.2.0) with ESMTP id h5IEwaD00476 for ; Wed, 18 Jun 2003 10:58:36 -0400 (EDT) Received: by mxic1.corp.emc.com with Internet Mail Service (5.5.2653.19) id ; Wed, 18 Jun 2003 10:58:18 -0400 Message-ID: <93F527C91A6ED411AFE10050040665D0083FA5A3@corpusmx1.us.dg.com> From: Mathews_Alex@emc.com To: gdb@sources.redhat.com Subject: Breakpoint on class member function Date: Wed, 18 Jun 2003 14:58:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2003-06/txt/msg00376.txt.bz2 I'm working with an internally modified gdb 5.3. I'm trying to figure out if something happens with symbols after a target remote is issued. The binary is ELF format with debugging information built with gcc 3.2. The scenario that I'm seeing is the following: (gdb) file symbols.gdb (gdb) b foo::foo1 Breakpoint 1 @ ... (gdb) delete 1 (gdb) target remote /dev/ttyS1 (gdb) b foo::foo1 the class foo does not have any method named foo1 Hint: try 'foo::foo1 or 'foo::foo1 (gdb) b 'foo::foo1(char *, char *)' Breakpoint 2 @ ... So, before I do a target remote, I'm able to set a breakpoint without the fully typed member function. Then afterwards, it won't work unless it's fully typed, so I'm forced to use the hint provided. I haven't modified anything in the symbol area, but I have made modifications to target remote related code. Any insight would be appreciated. I did see bug 1023, but I wasn't sure if that applied in my case.