From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22079 invoked by alias); 7 May 2003 17:53:01 -0000 Mailing-List: contact insight-prs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sources.redhat.com Received: (qmail 22058 invoked by uid 71); 7 May 2003 17:53:00 -0000 Resent-Date: 7 May 2003 17:53:00 -0000 Resent-Message-ID: <20030507175300.22057.qmail@sources.redhat.com> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-Cc: insight-prs@sources.redhat.com Resent-Reply-To: insight-gnats@sources.redhat.com, joshua.julin@lmco.com Received: (qmail 18994 invoked by uid 48); 7 May 2003 17:50:21 -0000 Message-Id: <20030507175021.18993.qmail@sources.redhat.com> Date: Wed, 07 May 2003 17:53:00 -0000 From: joshua.julin@lmco.com Reply-To: joshua.julin@lmco.com To: insight-gnats@sources.redhat.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/225: Cygwin-gdb can't find linker symbol for virtual table X-SW-Source: 2003-q2/txt/msg00014.txt.bz2 List-Id: >Number: 225 >Category: insight >Synopsis: Cygwin-gdb can't find linker symbol for virtual table >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed May 07 17:53:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: jjulin >Release: GNU gdb 2003-03-03-cvs (cygwin-special) >Organization: >Environment: cygwin >Description: Many useless and annoying dialog boxes appear when using the watch window to debug member variables of a class which contain a virtual destructor. Each dialog box says "can't find linker symbol for virtual table". I've only been able to replicate this problem on cygwin! This does not happen on linux boxes, but every cygwin box I've used duplicates this error. This points to an error in the cygwin-gdb code (I've already posted to the cygwin board), but insight handles this so poorly I thought I'd post to this board as well. See the How-to-repeat section. It's really easy to duplicate on cygwin. >How-To-Repeat: // There are 3 steps: // step 1. create this file: class Object { public: int x,y,z; double a,b,c; virtual ~Object() { } }; int main() { Object * obj = new Object; } //step 2. on cygwin, build using: g++ -g -o josh josh.cpp //step 3. on cygwin, run insight open the "watch window". // view Object's member variables. A ton of dialog // boxes should spew at you. // >Fix: >Release-Note: >Audit-Trail: >Unformatted: