This is the mail archive of the insight-prs@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

insight/122: Function browser problem with C++ const functions



>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]