Subversion Repositories HelenOS

Rev

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

Rev 4137 Rev 4145
Line 63... Line 63...
63
 
63
 
64
void decode_istate(int n, istate_t *istate)
64
void decode_istate(int n, istate_t *istate)
65
{
65
{
66
    char *symbol;
66
    char *symbol;
67
 
67
 
68
    symbol = symtab_fmt_name_lookup((istate->rip);
68
    symbol = symtab_fmt_name_lookup(istate->rip);
69
 
69
 
70
    printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n", n, __func__);
70
    printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n", n, __func__);
71
    printf("%%rip: %#llx (%s)\n", istate->rip, symbol);
71
    printf("%%rip: %#llx (%s)\n", istate->rip, symbol);
72
    printf("ERROR_WORD=%#llx\n", istate->error_word);
72
    printf("ERROR_WORD=%#llx\n", istate->error_word);
73
    printf("%%cs=%#llx, rflags=%#llx, %%cr0=%#llx\n", istate->cs,
73
    printf("%%cs=%#llx, rflags=%#llx, %%cr0=%#llx\n", istate->cs,