Change invalid access from error to user message.
It's not a failure in the debugger or even a real problem if a user asks to access memory that's not accessible. Change-Id: I30b8424d5265d1996fe4826012ed160a83f0bc6c
This commit is contained in:
parent
e273e23f41
commit
a08cef7633
|
@ -2249,10 +2249,10 @@ static int riscv_read_memory(struct target *target, uint32_t address,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result_value != 0) {
|
if (result_value != 0) {
|
||||||
LOG_ERROR("Core got an exception (0x%x) while reading from 0x%x",
|
LOG_USER("Core got an exception (0x%x) while reading from 0x%x",
|
||||||
result_value, address + size * (count-1));
|
result_value, address + size * (count-1));
|
||||||
if (count > 1) {
|
if (count > 1) {
|
||||||
LOG_ERROR("(It may have failed between 0x%x and 0x%x as well, but we "
|
LOG_USER("(It may have failed between 0x%x and 0x%x as well, but we "
|
||||||
"didn't check then.)",
|
"didn't check then.)",
|
||||||
address, address + size * (count-2) + size - 1);
|
address, address + size * (count-2) + size - 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue