From: Nicholas Piggin <[email protected]>
Fixes: a42bd00166 ("target/riscv: debug: Determine the trigger type from
tdata1.type")
Fixes: d1c111411e ("target/riscv: debug: Create common trigger actions
function")
Signed-off-by: Nicholas Piggin <[email protected]>
Reviewed-by: Daniel Henrique Barboza <[email protected]>
---
target/riscv/tcg/debug.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/riscv/tcg/debug.c b/target/riscv/tcg/debug.c
index 50e5a85caf..27c2e0da25 100644
--- a/target/riscv/tcg/debug.c
+++ b/target/riscv/tcg/debug.c
@@ -122,7 +122,7 @@ static trigger_action_t get_trigger_action(CPURISCVState
*env,
break;
case TRIGGER_TYPE_NO_EXIST:
case TRIGGER_TYPE_UNAVAIL:
- qemu_log_mask(LOG_GUEST_ERROR, "trigger type: %d does not exit\n",
+ qemu_log_mask(LOG_GUEST_ERROR, "trigger type: %d does not exist\n",
trigger_type);
break;
default:
@@ -944,7 +944,7 @@ void tdata_csr_write(CPURISCVState *env, int tdata_index,
target_ulong val)
trigger_type);
break;
case TRIGGER_TYPE_NO_EXIST:
- qemu_log_mask(LOG_GUEST_ERROR, "trigger type: %d does not exit\n",
+ qemu_log_mask(LOG_GUEST_ERROR, "trigger type: %d does not exist\n",
trigger_type);
break;
default:
--
2.43.0