This is the mail archive of the
insight-prs@sources.redhat.com
mailing list for the Insight project.
insight/122: Function browser problem with C++ const functions
- From: Ari dot Kauppi at pac dot fi
- To: insight-gnats at sources dot redhat dot com
- Date: 28 Jan 2002 16:58:24 -0000
- Subject: insight/122: Function browser problem with C++ const functions
- Reply-to: Ari dot Kauppi at pac dot fi
>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