llvm-project/lldb/lit/tools/lldb-mi/breakpoint/break-insert.test

16 lines
341 B
Plaintext

# RUN: %build %p/inputs/break-insert.c --nodefaultlib -o a.exe
# RUN: %lldbmi < %s | FileCheck %s
# Test that a breakpoint can be inserted before creating a target.
-break-insert breakpoint
# CHECK: ^done,bkpt={number="1"
-file-exec-and-symbols a.exe
# CHECK: ^done
-exec-run
# CHECK: ^running
# CHECK: *stopped,reason="breakpoint-hit"