Rev 1100 | Rev 1256 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1100 | Rev 1196 | ||
---|---|---|---|
Line 49... | Line 49... | ||
49 | 49 | ||
50 | if (!(symbol=get_symtab_entry(istate->rip))) |
50 | if (!(symbol=get_symtab_entry(istate->rip))) |
51 | symbol = ""; |
51 | symbol = ""; |
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: %#llX (%s)\n",istate->rip, symbol); |
55 | printf("ERROR_WORD=%Q\n", istate->error_word); |
55 | printf("ERROR_WORD=%#llX\n", istate->error_word); |
56 | printf("%%rcs=%Q, flags=%Q, %%cr0=%Q\n", istate->cs, istate->rflags,read_cr0()); |
56 | printf("%%rcs=%#llX, flags=%#llX, %%cr0=%#llX\n", istate->cs, istate->rflags,read_cr0()); |
57 | printf("%%rax=%Q, %%rcx=%Q, %%rdx=%Q\n",istate->rax,istate->rcx,istate->rdx); |
57 | printf("%%rax=%#llX, %%rcx=%#llX, %%rdx=%#llX\n",istate->rax,istate->rcx,istate->rdx); |
58 | printf("%%rsi=%Q, %%rdi=%Q, %%r8 =%Q\n",istate->rsi,istate->rdi,istate->r8); |
58 | printf("%%rsi=%#llX, %%rdi=%#llX, %%r8 =%#llX\n",istate->rsi,istate->rdi,istate->r8); |
59 | printf("%%r9 =%Q, %%r10 =%Q, %%r11=%Q\n",istate->r9,istate->r10,istate->r11); |
59 | printf("%%r9 =%#llX, %%r10 =%#llX, %%r11=%#llX\n",istate->r9,istate->r10,istate->r11); |
60 | #ifdef CONFIG_DEBUG_ALLREGS |
60 | #ifdef CONFIG_DEBUG_ALLREGS |
61 | printf("%%r12=%Q, %%r13=%Q, %%r14=%Q\n",istate->r12,istate->r13,istate->r14); |
61 | printf("%%r12=%#llX, %%r13=%#llX, %%r14=%#llX\n",istate->r12,istate->r13,istate->r14); |
62 | printf("%%r15=%Q, %%rbx=%Q, %%rbp=%Q\n",istate->r15,istate->rbx,&istate->rbp); |
62 | printf("%%r15=%#llX, %%rbx=%#llX, %%rbp=%#llX\n",istate->r15,istate->rbx,&istate->rbp); |
63 | #endif |
63 | #endif |
64 | printf("%%rsp=%Q\n",&istate->stack[0]); |
64 | printf("%%rsp=%#llX\n",&istate->stack[0]); |
65 | } |
65 | } |
66 | 66 | ||
67 | /* |
67 | /* |
68 | * Interrupt and exception dispatching. |
68 | * Interrupt and exception dispatching. |
69 | */ |
69 | */ |