[PATCH: gdb/mi + doco] -var-update

Nick Roberts nickrob@snap.net.nz
Mon Feb 21 03:28:00 GMT 2005


 > it should use mi-getopt (which correctly [?] implements the MI input 
 > syntax).  If you find doing this alters the commands semantics (quoting 
 > of parameters might be affected) then we'll need to introduce a new 
 > ``fixed'' command.

Hmm. I'm not very happy with adding another level of abstraction, at the
moment. I can see that it might force the command to have the right syntax
but, at least for me, it also makes the code quite unreadable.

This patch uses the same methods as applied to my previous ones for
-var-list-children and -stack-list-locals which, in fact, you guided me
through. mi-getopt was also available at that time.

Are you saying that you won't accept the current patch, with Eli's concerns
addressed, or is it possible to adapt for mi-getopt at a later stage, when
MI is more stable?


Nick



More information about the Gdb-patches mailing list