Print when we're ready for gdb to connect.

This should help gdbserver.py to connect reliably to really slow targets
(ie. simulators).

Change-Id: I8e9adbaf2ebde11b44e15582f036622a2d00c1f9
This commit is contained in:
Tim Newsome 2016-10-14 12:40:52 -07:00
parent 3f6c2a9f78
commit 4eba841bfe
1 changed files with 6 additions and 0 deletions

View File

@ -1803,7 +1803,13 @@ static int riscv_examine(struct target *target)
info->never_halted = true; info->never_halted = true;
int result = riscv_poll(target);
if (result != ERROR_OK) {
return result;
}
target_set_examined(target); target_set_examined(target);
LOG_INFO("Examined RISCV core; XLEN=%d, misa=0x%" PRIx64, info->xlen, info->misa);
return ERROR_OK; return ERROR_OK;
} }