< prev index next >

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

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -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 >