Skip to content

Commit 4c64166

Browse files
committed
handle invocation with trailing space
1 parent 07a8f9b commit 4c64166

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Interpreter/CommandInterpreter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,8 @@ void CommandInterpreter::LoadCommandDictionary() {
956956
"_regexp-step <function-name> // Step into the named function\n",
957957
0, false));
958958
if (step_regex_cmd_sp) {
959-
if (step_regex_cmd_sp->AddRegexCommand("^$", "thread step-in") &&
959+
if (step_regex_cmd_sp->AddRegexCommand("^[[:space:]]*$",
960+
"thread step-in") &&
960961
step_regex_cmd_sp->AddRegexCommand("^[[:space:]]*(-.*)$",
961962
"thread step-in %1") &&
962963
step_regex_cmd_sp->AddRegexCommand(

0 commit comments

Comments
 (0)