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]

Re: Source Window - pop-up over array elements


At 04:44 PM 11/7/00 -0500, Larry Smith wrote:

>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?

I don't think that we should special case argv[0] like this.


Syd Polk		spolk@redhat.com
Engineering Manager	+1 415 777 9810 x 241
Red Hat, Inc.




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