[Bug 28702] New: LLDB-MI: pending break point set with command break-insert -f doesn't get resolved

Bug ID 28702
Summary LLDB-MI: pending break point set with command break-insert -f doesn’t get resolved
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

Pending break point set with command break-insert -f doesn't get resolved when
the library loads.

Step to reproduce:
1. start lldb-mi without loading a file
2. -break-insert -f main
3. -file-exec-and-symbols echo
4. -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 correct notification output like

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