This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Source Window - pop-up over array elements
- To: lsmith at redhat dot com
- Subject: Re: Source Window - pop-up over array elements
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 07 Nov 2000 15:40:44 -0700
- Cc: insight at sources dot redhat dot com
- References: <3A0877D6.84031E6E@smith-house.org>
- Reply-To: tromey at cygnus dot com
>>>>> "Larry" == Larry Smith <larry@smith-house.org> writes:
Larry> One bug report we have here says that highlighting "argv[0]"
Larry> and adding it to the watchlist results in adding "argv", not
Larry> "argv[0]" and that the latter should be correct.
Larry> Trying to add it sounds like a poorly-considered can of worms.
Larry> Should I quash this report, or can someone suggest a generic
Larry> and non-hacky way for the gdbtk code to magically become aware
Larry> of arrays in all supported languages?
gdb understands me if I type `p argv[0]'.
It seems to me that if I highlight some text in gdbtk and ask it to
display it, it ought to do the right thing in a language-sensitive way.
The utility of watching is greatly reduced if I can only watch things
that are in the subset of all languages gdbtk understands. Probably
that amounts to raw variables and nothing else.
Or do I misunderstand?
Tom