Delay GDB server launch until emulator run (#4658)

This commit is contained in:
Daniel Valentine 2018-06-08 08:34:27 -04:00 committed by Ani
parent 7b5dcd9d6a
commit fb20c27e7b
3 changed files with 10 additions and 3 deletions

View file

@ -60,8 +60,8 @@ class GDBDebugServer : public named_thread {
void try_read_cmd(gdb_cmd& out_cmd);
//reads commands until receiveing one with valid checksum
//in case of other exception (i.e. wrong first char of command)
//it will log exception text and return false
//in that case best for caller would be to stop reading, because
//it will log exception text and return false
//in that case best for caller would be to stop reading, because
//chance of getting correct command is low
bool read_cmd(gdb_cmd& out_cmd);
//send cnt bytes from buf to client