Changeset 8e0eb63 in mainline for arch/amd64/src/interrupt.c
- Timestamp:
- 2006-03-15T18:01:43Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9e1c942
- Parents:
- 2f7342d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/src/interrupt.c
r2f7342d r8e0eb63 48 48 __u64 *x = &istate->stack[0]; 49 49 50 if (!(symbol=get_symtab_entry( x[1])))50 if (!(symbol=get_symtab_entry(istate->rip))) 51 51 symbol = ""; 52 52 53 printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n",n,__FUNCTION__); 54 printf("%%rip: %Q (%s)\n",istate->stack[1],symbol); 55 printf("ERROR_WORD=%Q\n", istate->stack[0]); 56 printf("%%rcs=%Q,flags=%Q, %%cr0=%Q\n", istate->stack[2], 57 istate->stack[3],read_cr0()); 53 printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n",n, __FUNCTION__); 54 printf("%%rip: %Q (%s)\n",istate->rip, symbol); 55 printf("ERROR_WORD=%Q\n", istate->error_word); 56 printf("%%rcs=%Q, flags=%Q, %%cr0=%Q\n", istate->cs, istate->rflags,read_cr0()); 58 57 printf("%%rax=%Q, %%rbx=%Q, %%rcx=%Q\n",istate->rax,istate->rbx,istate->rcx); 59 58 printf("%%rdx=%Q, %%rsi=%Q, %%rdi=%Q\n",istate->rdx,istate->rsi,istate->rdi); … … 78 77 void null_interrupt(int n, istate_t *istate) 79 78 { 80 printf("-----EXCEPTION(%d) OCCURED----- ( %s )\n",n,__FUNCTION__); \ 81 printf("stack: %X, %X, %X, %X\n", istate->stack[0], istate->stack[1], 82 istate->stack[2], istate->stack[3]); 79 print_info_errcode(n, istate); 83 80 panic("unserviced interrupt\n"); 84 81 }
Note:
See TracChangeset
for help on using the changeset viewer.