< prev index next >

src/jdk.hotspot.agent/linux/native/libsaproc/libproc.h

Print this page
*** 41,10 ***
--- 41,12 ---
  #include <asm/ptrace.h>
  #define user_regs_struct user_pt_regs
  #elif defined(arm)
  #include <asm/ptrace.h>
  #define user_regs_struct  pt_regs
+ #elif defined(riscv64)
+ #include <asm/ptrace.h>
  #endif
  
  // This C bool type must be int for compatibility with Linux calls and
  // it would be a mistake to equivalence it to C++ bool on many platforms
  #ifndef __cplusplus
< prev index next >