This is the mail archive of the insight@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]

Source Window - pop-up over array elements



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

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