Changeset ff4c4f5 in mainline for arch/amd64/src/interrupt.c
- Timestamp:
- 2005-09-05T11:59:09Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c0b45fa
- Parents:
- 342616d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified arch/amd64/src/interrupt.c ¶
r342616d rff4c4f5 41 41 42 42 43 44 static void messy_stack_trace(__native *stack) 45 { 46 __native *upper_limit = (__native *)(((__native)THREAD->kstack) + STACK_SIZE); 47 char *symbol; 48 49 printf("Stack contents: "); 50 while (stack < upper_limit) { 51 symbol = get_symtab_entry((__address)*stack); 52 if (symbol) 53 printf("%s, ", symbol); 54 stack++; 55 } 56 printf("\n"); 57 } 58 43 59 static void print_info_errcode(__u8 n, __native x[]) 44 60 { … … 65 81 printf(" %Q, %Q, %Q\n", x[20], x[21], x[22]); 66 82 printf(" %Q, %Q, %Q\n", x[23], x[24], x[25]); 83 messy_stack_trace(&x[5]); 67 84 } 68 85
Note:
See TracChangeset
for help on using the changeset viewer.