hotspot/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp
changeset 6176 4d9030fe341f
parent 5547 f4b087cbb361
child 7108 4f87b92f3060
equal deleted inserted replaced
6175:86dbf3cacacc 6176:4d9030fe341f
   585             uc->uc_mcontext.gregs[REG_Y]);
   585             uc->uc_mcontext.gregs[REG_Y]);
   586 
   586 
   587   st->print_cr(" PC=" INTPTR_FORMAT " nPC=" INTPTR_FORMAT,
   587   st->print_cr(" PC=" INTPTR_FORMAT " nPC=" INTPTR_FORMAT,
   588             uc->uc_mcontext.gregs[REG_PC],
   588             uc->uc_mcontext.gregs[REG_PC],
   589             uc->uc_mcontext.gregs[REG_nPC]);
   589             uc->uc_mcontext.gregs[REG_nPC]);
       
   590 
       
   591   st->cr();
       
   592   st->cr();
       
   593 
       
   594   st->print_cr("Register to memory mapping:");
       
   595   st->cr();
       
   596 
       
   597   // this is only for the "general purpose" registers
       
   598 
       
   599   st->print_cr("O0=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O0]);
       
   600   print_location(st, uc->uc_mcontext.gregs[REG_O0]);
       
   601   st->cr();
       
   602   st->print_cr("O1=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O1]);
       
   603   print_location(st, uc->uc_mcontext.gregs[REG_O1]);
       
   604   st->cr();
       
   605   st->print_cr("O2=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O2]);
       
   606   print_location(st, uc->uc_mcontext.gregs[REG_O2]);
       
   607   st->cr();
       
   608   st->print_cr("O3=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O3]);
       
   609   print_location(st, uc->uc_mcontext.gregs[REG_O3]);
       
   610   st->cr();
       
   611   st->print_cr("O4=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O4]);
       
   612   print_location(st, uc->uc_mcontext.gregs[REG_O4]);
       
   613   st->cr();
       
   614   st->print_cr("O5=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O5]);
       
   615   print_location(st, uc->uc_mcontext.gregs[REG_O5]);
       
   616   st->cr();
       
   617   st->print_cr("O6=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O6]);
       
   618   print_location(st, uc->uc_mcontext.gregs[REG_O6]);
       
   619   st->cr();
       
   620   st->print_cr("O7=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_O7]);
       
   621   print_location(st, uc->uc_mcontext.gregs[REG_O7]);
       
   622   st->cr();
       
   623 
       
   624   st->print_cr("G1=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G1]);
       
   625   print_location(st, uc->uc_mcontext.gregs[REG_G1]);
       
   626   st->cr();
       
   627   st->print_cr("G2=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G2]);
       
   628   print_location(st, uc->uc_mcontext.gregs[REG_G2]);
       
   629   st->cr();
       
   630   st->print_cr("G3=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G3]);
       
   631   print_location(st, uc->uc_mcontext.gregs[REG_G3]);
       
   632   st->cr();
       
   633   st->print_cr("G4=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G4]);
       
   634   print_location(st, uc->uc_mcontext.gregs[REG_G4]);
       
   635   st->cr();
       
   636   st->print_cr("G5=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G5]);
       
   637   print_location(st, uc->uc_mcontext.gregs[REG_G5]);
       
   638   st->cr();
       
   639   st->print_cr("G6=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G6]);
       
   640   print_location(st, uc->uc_mcontext.gregs[REG_G6]);
       
   641   st->cr();
       
   642   st->print_cr("G7=" INTPTR_FORMAT, uc->uc_mcontext.gregs[REG_G7]);
       
   643   print_location(st, uc->uc_mcontext.gregs[REG_G7]);
       
   644 
   590   st->cr();
   645   st->cr();
   591   st->cr();
   646   st->cr();
   592 
   647 
   593   intptr_t *sp = (intptr_t *)os::Solaris::ucontext_get_sp(uc);
   648   intptr_t *sp = (intptr_t *)os::Solaris::ucontext_get_sp(uc);
   594   st->print_cr("Top of Stack: (sp=" PTR_FORMAT ")", sp);
   649   st->print_cr("Top of Stack: (sp=" PTR_FORMAT ")", sp);