This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MI Development
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: Vladimir Prus <ghost at cs dot msu dot su>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 5 Sep 2007 17:30:52 +1200
- Subject: Re: MI Development
- References: <200709041740.22271.ghost@cs.msu.su>
> CLI commands bypass MI When a CLI command is issued, we don't see
> "^running". As result, frontend can easily think that gdb is waiting for
> commands while inferior is running.
With asynchronous operation, asynchronous CLI commands give the same MI output
that MI commands do.
> Variable objects and scopes
>
> Variable objects don't care much about C++ scopes. For example, it's not
> possible to create a variable object for a given expression in particular
> scope, which makes it impossible to accurately implement variable
> tooltips. Also, it's not possible to list all local variables in the entire
> function, which requires extraordinary effort to display all local variables
> as the enter scope and leave scope.
I'm just focussing on C as problems with C++ are too great for me.
--
Nick http://www.inet.net.nz/~nickrob