HomePhabricator

Handle the options and parameters separator in every MI command

Description

Handle the options and parameters separator in every MI command

Summary:
As per the following link, the "--" separator can appear between the options
and parameters of any MI command. Previously this separator was only
handled by the -data-disassemble MI command. I have moved the relevant
code into CMICmdBase so that any MI command can handle the
aforementioned separator.

https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Input-Syntax.html#GDB_002fMI-Input-Syntax

Reviewers: ki.stfu

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D14197

Details

Committed
abidhNov 2 2015, 3:43 AM
Differential Revision
D14197: Handle the options and parameters separator in every MI command
Parents
rL251792: Fix crash in redundant-void-arg check.
Branches
Unknown
Tags
Unknown