src/os_cpu/linux_mips/vm/os_linux_mips.cpp

changeset 9228
617b86d17edb
parent 9216
cb33476ceb7f
child 9251
1ccc5a3b3671
     1.1 --- a/src/os_cpu/linux_mips/vm/os_linux_mips.cpp	Mon Sep 03 14:27:42 2018 +0800
     1.2 +++ b/src/os_cpu/linux_mips/vm/os_linux_mips.cpp	Tue Sep 04 21:25:12 2018 +0800
     1.3 @@ -98,7 +98,7 @@
     1.4  
     1.5  address os::Linux::ucontext_get_pc(ucontext_t * uc) {
     1.6    //return (address)uc->uc_mcontext.gregs[REG_PC];
     1.7 -  return (address)uc->uc_mcontext.pc;//aoqi:what is gregs?
     1.8 +  return (address)uc->uc_mcontext.pc;
     1.9  }
    1.10  
    1.11  intptr_t* os::Linux::ucontext_get_sp(ucontext_t * uc) {
    1.12 @@ -566,7 +566,6 @@
    1.13      ) &&
    1.14        //(uc->uc_mcontext.cause == 2 || uc->uc_mcontext.cause == 3)) {
    1.15        (uc->uc_mcontext.hi1 == 2 || uc->uc_mcontext.hi1 == 3)) {
    1.16 -        //aoqi: copy from jdk1.5, dont understand the struct mcontext_t.
    1.17  #ifdef PRINT_SIGNAL_HANDLE
    1.18      tty->print_cr("execution protection violation\n");
    1.19  #endif

mercurial