Changeset 280a27e in mainline for arch/ia32/src/interrupt.c
- Timestamp:
- 2006-04-16T13:16:44Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 50de918
- Parents:
- c624b96
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/interrupt.c
rc624b96 r280a27e 62 62 printf("----------------EXCEPTION OCCURED----------------\n"); 63 63 64 printf("%%eip: % X (%s)\n",istate->eip,symbol);65 printf("ERROR_WORD=% X\n", istate->error_word);66 printf("%%cs=% X,flags=%X\n", istate->cs, istate->eflags);67 printf("%%eax=% X, %%ecx=%X, %%edx=%X, %%esp=%X\n", istate->eax,istate->ecx,istate->edx,&istate->stack[0]);64 printf("%%eip: %#X (%s)\n",istate->eip,symbol); 65 printf("ERROR_WORD=%#X\n", istate->error_word); 66 printf("%%cs=%#X,flags=%#X\n", istate->cs, istate->eflags); 67 printf("%%eax=%#X, %%ecx=%#X, %%edx=%#X, %%esp=%#X\n", istate->eax,istate->ecx,istate->edx,&istate->stack[0]); 68 68 #ifdef CONFIG_DEBUG_ALLREGS 69 printf("%%esi=% X, %%edi=%X, %%ebp=%X, %%ebx=%X\n", istate->esi,istate->edi,istate->ebp,istate->ebx);69 printf("%%esi=%#X, %%edi=%#X, %%ebp=%#X, %%ebx=%#X\n", istate->esi,istate->edi,istate->ebp,istate->ebx); 70 70 #endif 71 printf("stack: % X, %X, %X, %X\n", istate->stack[0], istate->stack[1], istate->stack[2], istate->stack[3]);72 printf(" % X, %X, %X, %X\n", istate->stack[4], istate->stack[5], istate->stack[6], istate->stack[7]);71 printf("stack: %#X, %#X, %#X, %#X\n", istate->stack[0], istate->stack[1], istate->stack[2], istate->stack[3]); 72 printf(" %#X, %#X, %#X, %#X\n", istate->stack[4], istate->stack[5], istate->stack[6], istate->stack[7]); 73 73 } 74 74 … … 101 101 :"=m"(mxcsr) 102 102 ); 103 printf("MXCSR: % X\n",(__native)(mxcsr));103 printf("MXCSR: %#zX\n",(__native)(mxcsr)); 104 104 panic("SIMD FP exception(19)\n"); 105 105 } … … 121 121 if (!as_page_fault(page)) { 122 122 PRINT_INFO_ERRCODE(istate); 123 printf("page fault address: % X\n", page);123 printf("page fault address: %#X\n", page); 124 124 panic("page fault\n"); 125 125 }
Note:
See TracChangeset
for help on using the changeset viewer.