- Timestamp:
- Nov 26, 2007, 3:32:34 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl/lisp-kernel/lisp-debug.c
r7654 r7752 503 503 } 504 504 505 debug_command_return 506 debug_thread_info(ExceptionInformation *xp, siginfo_t *info, int arg) 507 { 508 TCR * tcr = get_tcr(false); 509 510 if (tcr) { 511 area *vs_area = tcr->vs_area, *cs_area = tcr->cs_area; 512 513 fprintf(stderr, "Current Thread Context Record (tcr) = 0x%lx\n", tcr); 514 fprintf(stderr, "Control (C) stack area: low = 0x%lx, high = 0x%lx\n", 515 cs_area->low, cs_area->high); 516 fprintf(stderr, "Value (lisp) stack area: low = 0x%lx, high = 0x%lx\n", 517 vs_area->low, vs_area->high); 518 fprintf(stderr, "Exception stack pointer = 0x%lx\n", 519 #ifdef PPC 520 xpGPR(xp,1) 521 #endif 522 #ifdef X86 523 xpGPR(xp,Isp) 524 #endif 525 ); 526 } 527 return debug_continue; 528 } 505 529 506 530 … … 719 743 NULL, 720 744 'B'}, 745 {debug_thread_info, 746 "Show info about current thread", 747 0, 748 NULL, 749 'T'}, 721 750 {debug_win, 722 751 "Exit from this debugger, asserting that any exception was handled",
Note:
See TracChangeset
for help on using the changeset viewer.
