diff --git a/lldb/test/API/commands/command/script/Makefile b/lldb/test/API/commands/command/script/Makefile index 99998b20bcb05..c9a35c808f22b 100644 --- a/lldb/test/API/commands/command/script/Makefile +++ b/lldb/test/API/commands/command/script/Makefile @@ -1,3 +1,5 @@ CXX_SOURCES := main.cpp +DEBUG_INFO_FLAG := -g + include Makefile.rules diff --git a/lldb/test/API/commands/command/script/TestCommandScript.py b/lldb/test/API/commands/command/script/TestCommandScript.py index 6f369470803f9..756cb4a3632f8 100644 --- a/lldb/test/API/commands/command/script/TestCommandScript.py +++ b/lldb/test/API/commands/command/script/TestCommandScript.py @@ -113,7 +113,7 @@ def cleanup(): self.expect("longwait", substrs=['Done; if you saw the delays I am doing OK']) - self.runCmd("b main") + self.runCmd("break set -f main.cpp -l 48") self.runCmd("run") self.runCmd("mysto 3") self.expect("frame variable array",