This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [MI] -stack-list-variables


 

> -----Original Message-----
> From: gdb-patches-owner@sourceware.org 
> [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Joel Brobecker
> Sent: Monday, September 21, 2009 12:28 PM
> To: Vladimir Prus
> Cc: gdb-patches@sources.redhat.com
> Subject: Re: [MI] -stack-list-variables
> 
>>> 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.

A disadvantage with this approach is that this feature would only be
available in the GDB release that occurred after the feature request.
A frontend that would request the feature could not offer the same 
functionality with older GDBs.  

We can't prepare for everything of course, but in this case, why not?

Just my thoughts

Marc


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