[MI] -stack-list-variables

Nick Roberts nickrob@snap.net.nz
Mon Sep 21 22:10:00 GMT 2009


 > > But what would happen the day a front-end starts caring? Are they
 > > going to have to send 2 MI commands to get the info?
 > 
 > No. The frontend author would write an email to gdb@sources.redhat.com,
 > explaining the reasons, and a new field will be added as result. That's
 > how I'd prefer MI to evolve, as opposed to adding information ahead of
 > the time.

That's exactly what I have done.

and:

> I am frankly surprised by the amount of support for this feature, and
> the fact that this support say this is harmless, and possibly
> useful, but does not name any single frontend that actually separates
> arguments from "true" locals.

I'm not sure that `proof by example' should be necessary. but here's an
example showing Totalview separate the two:

http://upc.lbl.gov/docs/user/ProcessWindow.png

Totalview is probably the world's best C/C++ debugger (apart fron GDB, of
course!).  I'm sure that if their users didn't want this feature, Etnus would
remove it.

As a maintainer I would try to accommodate such requests and reserve my
judgements for technical matters.

-- 
Nick                                           http://www.inet.net.nz/~nickrob



More information about the Gdb-patches mailing list