Skip to content

Commit

Permalink
Add missing rv64 case for the native debugger ##debug
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed May 21, 2024
1 parent 1e0a885 commit e4a3750
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libr/debug/p/debug_native.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* radare - LGPL - Copyright 2009-2023 - pancake */
/* radare - LGPL - Copyright 2009-2024 - pancake */

#include <r_userconf.h>
#include <r_drx.h>
Expand Down Expand Up @@ -1654,6 +1654,10 @@ RDebugPlugin r_debug_plugin_native = {
.bits = R_SYS_BITS_32,
.arch = "x86",
.canstep = true,
#elif __riscv || __riscv__ || __riscv64__
.bits = R_SYS_BITS_64,
.arch = "riscv",
.canstep = false,
#elif __x86_64__
.bits = R_SYS_BITS_32 | R_SYS_BITS_64,
.arch = "x86",
Expand Down

0 comments on commit e4a3750

Please sign in to comment.