This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] mi: add -a option to the "-data-disassemble" command
On 08/10/2018 09:29 AM, Jan Vrany wrote:
> @@ -33095,6 +33101,9 @@ records, produced when trying to execute an undefined @sc{gdb/mi} command
> @item exec-run-start-option
> Indicates that the @code{-exec-run} command supports the @option{--start}
> option (@pxref{GDB/MI Program Execution}).
> +@item data-disassemble-a-option
> +Indicates that the @code{-data-disassemble} command supports the @option{-a}
> +option (@pxref{GDB/MI Data Manipulation}).
> @end ftable
I'm curious about how you intend to use this new -list-features feature.
Are you enabling/disabling some UI element depending on presence of the
feature? I.e., something that you wouldn't be able to do by just
trying the "-data-disassemble -a" command and looking for error?
Thanks,
Pedro Alves