Skip to content

Commit

Permalink
Merge pull request #953 from riscv/regno_name_enum
Browse files Browse the repository at this point in the history
target/riscv: gdb_regno_name takes an enum.
  • Loading branch information
timsifive committed Nov 6, 2023
2 parents b75bfab + c2f544c commit 839f292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target/riscv/riscv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 839f292

Please sign in to comment.