Received: from eggs.gnu.org ([208.118.235.92]:55228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG3lk-0001dx-2o for qemu-devel@nongnu.org; Thu, 14 Mar 2013 04:44:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UG3li-0003Bu-Ol for qemu-devel@nongnu.org; Thu, 14 Mar 2013 04:44:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG3li-0003Bm-HL for qemu-devel@nongnu.org; Thu, 14 Mar 2013 04:44:10 -0400 From: Markus Armbruster References: <1363109492-1901-1-git-send-email-chouteau@adacore.com> <1363109492-1901-4-git-send-email-chouteau@adacore.com> Date: Thu, 14 Mar 2013 09:44:05 +0100 In-Reply-To: <1363109492-1901-4-git-send-email-chouteau@adacore.com> (Fabien Chouteau's message of "Tue, 12 Mar 2013 18:31:32 +0100") Message-ID: <87mwu6z7ze.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH V3 3/3] New option -gdb-opts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fabien Chouteau Cc: jan.kiszka@siemens.com, qemu-devel@nongnu.org Fabien Chouteau writes: > We introduce a new command line option. It's a generic option to > customize the gdb server: > > -gdb-opts [attached=on|off] > > The only parameter for now is "attached". > > Signed-off-by: Fabien Chouteau --gdb-opts complements existing --gdb. You need to use both for full control. I figure you do this because you can't extend --gdb, as its argument is in legacy character device syntax, not QemuOpts. We had similar cases before, and solved them differently: create a more general option, then make the old one sugar for the new one. For instance, --monitor and --qmp are sugar for --mon. Desugaring code is in monitor_parse().