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] -list-features


> From: Vladimir Prus <ghost@cs.msu.su>
> Date: Tue, 28 Aug 2007 21:47:17 +0400
> Cc: gdb-patches@sources.redhat.com
> 
> 	-list-features
> 		Returns a list of particular features of the MI protocol that
> 		this version of gdb implements.  A feature can be a command,
> 		or a new field in an output of some command, or even an
> 		important bugfix.  While a frontend can sometimes detect presence
> 		of a feature at runtime, it is easier to perform detection at debugger
> 		startup. The current list of features is:
> 
> 		- 'frozen-varobjs' -- indicates presence of -var-set-frozen command,
> 		as well as possible presense of the 'frozen' field in the output of
> 		-varobj-create.
> 		.........

This is fine, but for it to be useful to front ends, I think you need
to tell more about the format of the output, because a program will
need to parse and understand it.  Let's say I want to test for the
support of a feature name "frobnicate", how would I go about it?

TIA


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