This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add the "-info-os" command to MI
- From: Tom Tromey <tromey at redhat dot com>
- To: Kwok Cheung Yeung <kcy at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 21 Oct 2011 14:39:51 -0600
- Subject: Re: [PATCH] Add the "-info-os" command to MI
- References: <4E970915.8000207@codesourcery.com>
>>>>> ">" == Kwok Cheung Yeung <kcy@codesourcery.com> writes:
>> + { "info-os", { "info os", 1 }, NULL },
I'd prefer a new function specific to MI to do the command-line parsing.
I think this approach should be deprecated and that no new instances go
into the tree. They unnecessarily link MI to the CLI, making it harder
to change the CLI.
Tom