changeset 33129 | e0bcbb5015b3 |
parent 33066 | d98eab8215c4 |
parent 33105 | 294e48b4f704 |
child 33148 | 68fa8b6c4340 |
33086:d9b7f6713bff | 33129:e0bcbb5015b3 |
---|---|
416 } else { |
416 } else { |
417 ttyLocker ttyl; |
417 ttyLocker ttyl; |
418 ::tty->print_cr("=============== DEBUG MESSAGE: %s ================\n", msg); |
418 ::tty->print_cr("=============== DEBUG MESSAGE: %s ================\n", msg); |
419 } |
419 } |
420 // Don't assert holding the ttyLock |
420 // Don't assert holding the ttyLock |
421 assert(false, err_msg("DEBUG MESSAGE: %s", msg)); |
421 assert(false, "DEBUG MESSAGE: %s", msg); |
422 ThreadStateTransition::transition(thread, _thread_in_vm, saved_state); |
422 ThreadStateTransition::transition(thread, _thread_in_vm, saved_state); |
423 } |
423 } |
424 |
424 |
425 void MacroAssembler::print_state32(int rdi, int rsi, int rbp, int rsp, int rbx, int rdx, int rcx, int rax, int eip) { |
425 void MacroAssembler::print_state32(int rdi, int rsi, int rbp, int rsp, int rbx, int rdx, int rcx, int rax, int eip) { |
426 ttyLocker ttyl; |
426 ttyLocker ttyl; |
882 ThreadStateTransition::transition(thread, _thread_in_vm, saved_state); |
882 ThreadStateTransition::transition(thread, _thread_in_vm, saved_state); |
883 } else { |
883 } else { |
884 ttyLocker ttyl; |
884 ttyLocker ttyl; |
885 ::tty->print_cr("=============== DEBUG MESSAGE: %s ================\n", |
885 ::tty->print_cr("=============== DEBUG MESSAGE: %s ================\n", |
886 msg); |
886 msg); |
887 assert(false, err_msg("DEBUG MESSAGE: %s", msg)); |
887 assert(false, "DEBUG MESSAGE: %s", msg); |
888 } |
888 } |
889 } |
889 } |
890 |
890 |
891 void MacroAssembler::print_state64(int64_t pc, int64_t regs[]) { |
891 void MacroAssembler::print_state64(int64_t pc, int64_t regs[]) { |
892 ttyLocker ttyl; |
892 ttyLocker ttyl; |