This is the mail archive of the gdb-patches@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: [PATCH: gdb/mi + doco] -var-update


 > 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


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