diff options
Diffstat (limited to 'source/Interpreter/CommandInterpreter.cpp')
| -rw-r--r-- | source/Interpreter/CommandInterpreter.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/source/Interpreter/CommandInterpreter.cpp b/source/Interpreter/CommandInterpreter.cpp index de27f7be30d3..8703bc97f06e 100644 --- a/source/Interpreter/CommandInterpreter.cpp +++ b/source/Interpreter/CommandInterpreter.cpp @@ -645,8 +645,8 @@ void CommandInterpreter::LoadCommandDictionary() {            "gdb-remote [<hostname>:]<portnum>", 2, 0, false));    if (connect_gdb_remote_cmd_ap.get()) {      if (connect_gdb_remote_cmd_ap->AddRegexCommand( -            "^([^:]+:[[:digit:]]+)$", -            "process connect --plugin gdb-remote connect://%1") && +            "^([^:]+|\\[[0-9a-fA-F:]+.*\\]):([0-9]+)$", +            "process connect --plugin gdb-remote connect://%1:%2") &&          connect_gdb_remote_cmd_ap->AddRegexCommand(              "^([[:digit:]]+)$",              "process connect --plugin gdb-remote connect://localhost:%1")) { | 
