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:
parent
3f6c2a9f78
commit
4eba841bfe
|
@ -1803,7 +1803,13 @@ static int riscv_examine(struct target *target)
|
|||
|
||||
info->never_halted = true;
|
||||
|
||||
int result = riscv_poll(target);
|
||||
if (result != ERROR_OK) {
|
||||
return result;
|
||||
}
|
||||
|
||||
target_set_examined(target);
|
||||
LOG_INFO("Examined RISCV core; XLEN=%d, misa=0x%" PRIx64, info->xlen, info->misa);
|
||||
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue