Merge pull request #953 from riscv/regno_name_enum

target/riscv: gdb_regno_name takes an enum.
This commit is contained in:
Tim Newsome 2023-11-06 09:16:57 -08:00 committed by GitHub
commit 839f292f83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);