Subversion Repositories HelenOS-historic

Rev

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

Rev 1060 Rev 1100
Line 52... Line 52...
52
 
52
 
53
    printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n",n, __FUNCTION__);
53
    printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n",n, __FUNCTION__);
54
    printf("%%rip: %Q (%s)\n",istate->rip, symbol);
54
    printf("%%rip: %Q (%s)\n",istate->rip, symbol);
55
    printf("ERROR_WORD=%Q\n", istate->error_word);
55
    printf("ERROR_WORD=%Q\n", istate->error_word);
56
    printf("%%rcs=%Q, flags=%Q, %%cr0=%Q\n", istate->cs, istate->rflags,read_cr0());
56
    printf("%%rcs=%Q, flags=%Q, %%cr0=%Q\n", istate->cs, istate->rflags,read_cr0());
57
    printf("%%rax=%Q, %%rbx=%Q, %%rcx=%Q\n",istate->rax,istate->rbx,istate->rcx);
57
    printf("%%rax=%Q, %%rcx=%Q, %%rdx=%Q\n",istate->rax,istate->rcx,istate->rdx);
58
    printf("%%rdx=%Q, %%rsi=%Q, %%rdi=%Q\n",istate->rdx,istate->rsi,istate->rdi);
58
    printf("%%rsi=%Q, %%rdi=%Q, %%r8 =%Q\n",istate->rsi,istate->rdi,istate->r8);
59
    printf("%%r8 =%Q, %%r9 =%Q, %%r10=%Q\n",istate->r8,istate->r9,istate->r10);
59
    printf("%%r9 =%Q, %%r10 =%Q, %%r11=%Q\n",istate->r9,istate->r10,istate->r11);
-
 
60
#ifdef CONFIG_DEBUG_ALLREGS 
60
    printf("%%r11=%Q, %%r12=%Q, %%r13=%Q\n",istate->r11,istate->r12,istate->r13);
61
    printf("%%r12=%Q, %%r13=%Q, %%r14=%Q\n",istate->r12,istate->r13,istate->r14);
61
    printf("%%r14=%Q, %%r15=%Q, %%rsp=%Q\n",istate->r14,istate->r15,&istate->stack[0]);
62
    printf("%%r15=%Q, %%rbx=%Q, %%rbp=%Q\n",istate->r15,istate->rbx,&istate->rbp);
62
    printf("%%rbp=%Q\n",istate->rbp);
-
 
63
/*      
63
#endif
64
    printf("stack: %Q, %Q, %Q\n", x[5], x[6], x[7]);
-
 
65
    printf("       %Q, %Q, %Q\n", x[8], x[9], x[10]);
64
    printf("%%rsp=%Q\n",&istate->stack[0]);
66
    printf("       %Q, %Q, %Q\n", x[11], x[12], x[13]);
-
 
67
    printf("       %Q, %Q, %Q\n", x[14], x[15], x[16]);
-
 
68
*/
-
 
69
}
65
}
70
 
66
 
71
/*
67
/*
72
 * Interrupt and exception dispatching.
68
 * Interrupt and exception dispatching.
73
 */
69
 */