Closed jonahgraham closed 9 months ago
This change updates the regex from Listening on port ([0-9]+)
to Listening on port ([0-9]+)\r?\n
, all the docs for default value of serverPortRegExp
say "defaults to matching a string like 'Listening on port 41551'":
which means I don't think it should be a problem to change the default implementation here.
Because the needed output from gdbserver may not arrive as a single 'data' event on stdout we need to accumulate the output before passing it to the regex checker.
Fixes #299