From 162cc1e79d75b56578f5bc607234c0a2c8c32881 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Thu, 29 Jun 2023 17:02:26 -0700 Subject: [PATCH] target/riscv: Fix typo in gdb_regno_cacheable() comment. Change-Id: If8806853d47779b5b208202803ed5da437f7b624 Signed-off-by: Tim Newsome --- src/target/riscv/riscv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c index 7ea3a08d8..f8eac51d2 100644 --- a/src/target/riscv/riscv.c +++ b/src/target/riscv/riscv.c @@ -4663,7 +4663,7 @@ static bool gdb_regno_cacheable(enum gdb_regno regno, bool is_write) case GDB_REGNO_TSELECT: /* I think this should be above, but then it doesn't work. */ case GDB_REGNO_TDATA1: /* Changes value when tselect is changed. */ - case GDB_REGNO_TDATA2: /* Changse value when tselect is changed. */ + case GDB_REGNO_TDATA2: /* Changes value when tselect is changed. */ default: return false; }