This is the mail archive of the gdb@sources.redhat.com 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: GDB/MI snapshots between major release's


On Wed, Oct 06, 2004 at 10:12:53AM -0700, Felix Lee wrote:
> Bob Rossi <bob@brasko.net>:
> > If at some point, GDB decides not to honor MI2 anymore, I need to make
> > sure that I know that. If my front end only supports MI2, and GDB
> > supports only MI3, than the function you are suggesting will not be good
> > enough for me.
> 
> I think there's no chance that situation will occur.
> 
> if sometime in the future gdb stops honoring MI7, then presumably
> it honors a newer version, MI21.  since your front-end knows
> about MI21, then you don't care that MI7 is gone.  so that's not
> a problem.
> 
> if MI7 is the only version that a front-end knows, then that's a
> strong argument against removing MI7, so that's not a problem
> either.

Actually, I doubt GDB will continue to support old MI versions
indefinitely.  It may be very hard.  For instance, at some point we may
report multiple events to the front end at once (from different
threads); or multiple addresses associated with a breakpoint.  Faking
an old interface will not be worth the trouble.

I expect there will be points at which front ends will have to be
updated to talk to a new GDB.

-- 
Daniel Jacobowitz


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