target/riscv: gdb_regno_name takes an enum.

Otherwise it won't compile for me. Not sure why that doesn't affect the
automated builds.

Change-Id: Ic66c743e1698c4c0772e5601723cb5c711b4fa5c
Signed-off-by: Tim Newsome <tim@sifive.com>
This commit is contained in:
Tim Newsome 2023-11-03 10:47:30 -07:00
parent b75bfab026
commit c2f544c4f6
1 changed files with 1 additions and 1 deletions

View File

@ -5539,7 +5539,7 @@ static void init_custom_csr_names(struct target *target)
}
}
const char *gdb_regno_name(struct target *target, unsigned int regno)
const char *gdb_regno_name(struct target *target, enum gdb_regno regno)
{
RISCV_INFO(info);