Subversion Repositories HelenOS

Rev

Rev 2218 | Rev 3788 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2218 Rev 2462
Line 67... Line 67...
67
/*  uint64_t *x = &istate->stack[0]; */
67
/*  uint64_t *x = &istate->stack[0]; */
68
 
68
 
69
    if (!(symbol=get_symtab_entry(istate->rip)))
69
    if (!(symbol=get_symtab_entry(istate->rip)))
70
        symbol = "";
70
        symbol = "";
71
 
71
 
72
    printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n",n, __FUNCTION__);
72
    printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n",n, __func__);
73
    printf("%%rip: %#llx (%s)\n",istate->rip, symbol);
73
    printf("%%rip: %#llx (%s)\n",istate->rip, symbol);
74
    printf("ERROR_WORD=%#llx\n", istate->error_word);
74
    printf("ERROR_WORD=%#llx\n", istate->error_word);
75
    printf("%%rcs=%#llx, flags=%#llx, %%cr0=%#llx\n", istate->cs, istate->rflags, read_cr0());
75
    printf("%%rcs=%#llx, flags=%#llx, %%cr0=%#llx\n", istate->cs, istate->rflags, read_cr0());
76
    printf("%%rax=%#llx, %%rcx=%#llx, %%rdx=%#llx\n", istate->rax, istate->rcx, istate->rdx);
76
    printf("%%rax=%#llx, %%rcx=%#llx, %%rdx=%#llx\n", istate->rax, istate->rcx, istate->rdx);
77
    printf("%%rsi=%#llx, %%rdi=%#llx, %%r8 =%#llx\n", istate->rsi, istate->rdi, istate->r8);
77
    printf("%%rsi=%#llx, %%rdi=%#llx, %%r8 =%#llx\n", istate->rsi, istate->rdi, istate->r8);