[Bug 28857] New: LLDB-MI: break-enable doesn't enable specified breakpoints

Bug ID 28857
Summary LLDB-MI: break-enable doesn’t enable specified breakpoints
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter aetf@unlimitedcodeworks.xyz
CC llvm-bugs@lists.llvm.org
Classification Unclassified

-break-enable can't enable a previously disabled breakpoints.

Step to reproduce:
1. start lldb-mi with a small hello world program
2. -break-insert -f main
3. -break-disable 1
4. -break-enable 1
5. -exec-run

Actual Result:
Program doesn't stop at the break point and exits normally with output like

*stopped,reason="exited-normally"

Expected result:
Program stops at the break point, with notification output like

*stopped,reason="breakpoint-hit",disp="del",bkptno="1",frame={level="0",addr="0x00007ffff7a58650",func="main()",args=[],file="??",fullname="??",line="-1"},thread-id="1",stopped-threads="all"