This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Source Window - pop-up over array elements
- To: insight at sources dot redhat dot com
- Subject: Source Window - pop-up over array elements
- From: Larry Smith <larry at smith-house dot org>
- Date: Tue, 07 Nov 2000 16:44:54 -0500
- CC: lsmith at redhat dot com
- Organization: Red Hat, Inc.
- Reply-To: lsmith at redhat dot com
One bug report we have here says that highlighting "argv[0]"
and adding it to the watchlist results in adding "argv", not
"argv[0]" and that the latter should be correct.
However, this seems to me to be another example of a C-ish
orientation. Gdbtk has no notion of a "type", such as an
array, nor code to parse array element notation - in C, or
any other supported language. Trying to add it sounds like
a poorly-considered can of worms. Should I quash this report,
or can someone suggest a generic and non-hacky way for the
gdbtk code to magically become aware of arrays in all supported
languages?
Or...does someone want to see "argv[0]" special-cased?
regards,
--
.-. .-. .---. .---. .-..-. | "Bill Gates is just a monocle
| |__ / | \| |-< | |-< > / | and a Persian Cat away from
`----'`-^-'`-'`-'`-'`-' `-' | being one of the bad guys in a
My opinions only. | James Bond movie." -- D Miller