public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
* insight/122: Function browser problem with C++ const functions
@ 2002-01-28 9:03 Ari.Kauppi
0 siblings, 0 replies; only message in thread
From: Ari.Kauppi @ 2002-01-28 9:03 UTC (permalink / raw)
To: insight-gnats
>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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-01-28 17:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-28 9:03 insight/122: Function browser problem with C++ const functions Ari.Kauppi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).