We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe72e0d commit b83d070Copy full SHA for b83d070
lldb/source/Interpreter/CommandInterpreter.cpp
@@ -851,7 +851,7 @@ void CommandInterpreter::LoadCommandDictionary() {
851
// now "bt 3" is the preferred form, in line with gdb.
852
if (bt_regex_cmd_up->AddRegexCommand("^([[:digit:]]+)[[:space:]]*$",
853
"thread backtrace -c %1") &&
854
- bt_regex_cmd_up->AddRegexCommand("^(-.+)$", "thread backtrace %1") &&
+ bt_regex_cmd_up->AddRegexCommand("^(-[^[:space:]].*)$", "thread backtrace %1") &&
855
bt_regex_cmd_up->AddRegexCommand("^all[[:space:]]*$", "thread backtrace all") &&
856
bt_regex_cmd_up->AddRegexCommand("^[[:space:]]*$", "thread backtrace")) {
857
CommandObjectSP command_sp(bt_regex_cmd_up.release());
0 commit comments