[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V3 3/3] New option -gdb-opts
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH V3 3/3] New option -gdb-opts |
Date: |
Thu, 14 Mar 2013 09:44:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Fabien Chouteau <address@hidden> 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 <address@hidden>
--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().
[Qemu-devel] [PATCH V3 1/3] Add GDB qAttached support, Fabien Chouteau, 2013/03/12