Skip to content

Commit

Permalink
target/riscv: gdb_regno_name takes an enum.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
timsifive committed Nov 3, 2023
1 parent b75bfab commit c2f544c
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 c2f544c

Please sign in to comment.