From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6095 invoked by alias); 28 Jan 2002 17:03:03 -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 6067 invoked by uid 71); 28 Jan 2002 17:03:01 -0000 Resent-Date: 28 Jan 2002 17:03:01 -0000 Resent-Message-ID: <20020128170301.6066.qmail@sources.redhat.com> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-To: nobody@sources.redhat.com Resent-Cc: insight-prs@sources.redhat.com Resent-Reply-To: insight-gnats@sources.redhat.com, Ari.Kauppi@pac.fi Received:(qmail 3437 invoked by uid 61); 28 Jan 2002 16:58:24 -0000 Message-Id:<20020128165824.3436.qmail@sources.redhat.com> Date: Mon, 28 Jan 2002 09:03:00 -0000 From: Ari.Kauppi@pac.fi Reply-To: Ari.Kauppi@pac.fi To: insight-gnats@sources.redhat.com X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/122: Function browser problem with C++ const functions X-SW-Source: 2002-q1/txt/msg00059.txt.bz2 List-Id: >Number: 122 >Category: insight >Synopsis: Function browser problem with C++ const functions >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Jan 28 09:03:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Ari.Kauppi@pac.fi >Release: Insight-5.1.1, CVS snapshot at 11-28-2001 16:40 GMT >Organization: >Environment: Redhat Linux 7.1 on i386 running on AMD Athlon 1Ghz >Description: Function selector doesn't work correctly for functions like int foo() const; Appears at least at function browser and source browser. See attachment with functions returnA and returnB. Probably trivial to fix but don't know enough tcl and gdb internals. >How-To-Repeat: g++ -g -o foo foo.C && gdb foo Try function browsing for int returnA(); and int returnB() const; >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="foo.C" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="foo.C" Y2xhc3MgZm9vCnsKcHVibGljOgogIGludCByZXR1cm5BKCk7CiAgaW50IHJldHVybkIoKSBjb25z dDsKCn07CgppbnQgZm9vOjpyZXR1cm5BKCkKewogIHJldHVybiAxOwp9CgppbnQgZm9vOjpyZXR1 cm5CKCkgY29uc3QKewogIHJldHVybiAxOwp9CgppbnQgbWFpbihpbnQgYXJnYywgY2hhciAqYXJn dltdKQp7CiAgcmV0dXJuIDA7Cn0K