Subversion Repositories HelenOS-historic

Rev

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

Rev 1724 Rev 1735
Line 60... Line 60...
60
 
60
 
61
    if (!(symbol=get_symtab_entry(istate->rip)))
61
    if (!(symbol=get_symtab_entry(istate->rip)))
62
        symbol = "";
62
        symbol = "";
63
 
63
 
64
    printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n",n, __FUNCTION__);
64
    printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n",n, __FUNCTION__);
65
    printf("%%rip: %#llX (%s)\n",istate->rip, symbol);
65
    printf("%%rip: %#llx (%s)\n",istate->rip, symbol);
66
    printf("ERROR_WORD=%#llX\n", istate->error_word);
66
    printf("ERROR_WORD=%#llx\n", istate->error_word);
67
    printf("%%rcs=%#llX, flags=%#llX, %%cr0=%#llX\n", istate->cs, istate->rflags,read_cr0());
67
    printf("%%rcs=%#llx, flags=%#llx, %%cr0=%#llx\n", istate->cs, istate->rflags, read_cr0());
68
    printf("%%rax=%#llX, %%rcx=%#llX, %%rdx=%#llX\n",istate->rax,istate->rcx,istate->rdx);
68
    printf("%%rax=%#llx, %%rcx=%#llx, %%rdx=%#llx\n", istate->rax, istate->rcx, istate->rdx);
69
    printf("%%rsi=%#llX, %%rdi=%#llX, %%r8 =%#llX\n",istate->rsi,istate->rdi,istate->r8);
69
    printf("%%rsi=%#llx, %%rdi=%#llx, %%r8 =%#llx\n", istate->rsi, istate->rdi, istate->r8);
70
    printf("%%r9 =%#llX, %%r10 =%#llX, %%r11=%#llX\n",istate->r9,istate->r10,istate->r11);
70
    printf("%%r9 =%#llx, %%r10 =%#llx, %%r11=%#llx\n", istate->r9, istate->r10, istate->r11);
71
#ifdef CONFIG_DEBUG_ALLREGS 
71
#ifdef CONFIG_DEBUG_ALLREGS 
72
    printf("%%r12=%#llX, %%r13=%#llX, %%r14=%#llX\n",istate->r12,istate->r13,istate->r14);
72
    printf("%%r12=%#llx, %%r13=%#llx, %%r14=%#llx\n", istate->r12, istate->r13, istate->r14);
73
    printf("%%r15=%#llX, %%rbx=%#llX, %%rbp=%#llX\n",istate->r15,istate->rbx,&istate->rbp);
73
    printf("%%r15=%#llx, %%rbx=%#llx, %%rbp=%#llx\n", istate->r15, istate->rbx, &istate->rbp);
74
#endif
74
#endif
75
    printf("%%rsp=%#llX\n",&istate->stack[0]);
75
    printf("%%rsp=%#llx\n", &istate->stack[0]);
76
}
76
}
77
 
77
 
78
/*
78
/*
79
 * Interrupt and exception dispatching.
79
 * Interrupt and exception dispatching.
80
 */
80
 */