[Bug 36365] New: Weird MI '-break-disable' error message

Bug ID 36365
Summary Weird MI ‘-break-disable’ error message
Product lldb
Version 6.0
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter dantipov@nvidia.com
CC llvm-bugs@lists.llvm.org

MI command '-break-disable' reports a weird error message for a non-existing
breakpoint number. Example:

(gdb)
-break-disable 111
^error,msg="Command '0'. Breakpoint 'Command '%s'. Breakpoint '%s' invalid'
invalid"

Probably it should look similar to '-break-delete' instead:

(gdb)
-break-delete 111
^error,msg="Command 'break-delete'. Breakpoint '111' invalid"