Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* MI fine-grained versioning
@ 2006-12-18 15:35 Vladimir Prus
  2006-12-18 15:39 ` Bob Rossi
  2006-12-18 15:47 ` Daniel Jacobowitz
  0 siblings, 2 replies; 6+ messages in thread
From: Vladimir Prus @ 2006-12-18 15:35 UTC (permalink / raw)
  To: gdb


At the moment, MI does not have any mechanism to announce supported
features. For example, I have a patch to add "frozen" variable objects. To support
such feature in a backward-compatible fashion, the frontend must know if that
features is supported by the given gdb binary.

Using version number is not very reliable -- for example if you use the CVS state
of gdb, the version number is not yet bumped.

Yet another approach is to "detect" presence of feature by trying some commands,
or by trying commands with some new options, or by constructing more contrived test
cases. However that's troublesome.

How about adding new MI command that returnes list of supported fine-grained features.
For example:

	-list-features
	^done,result=["frozen_variables","info_path_expression"]

The MI manual would contain a section listing all feature names and briefly documenting them.

Comments?

- Volodya


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-12-18 19:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-18 15:35 MI fine-grained versioning Vladimir Prus
2006-12-18 15:39 ` Bob Rossi
2006-12-18 16:02   ` Vladimir Prus
2006-12-18 19:52   ` Nick Roberts
2006-12-18 19:56     ` Bob Rossi
2006-12-18 15:47 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox