Changeset 7909
- Timestamp:
- Dec 13, 2007, 3:30:28 PM (17 years ago)
- Location:
- trunk/ccl/lisp-kernel
- Files:
-
- 2 edited
-
lisp-debug.c (modified) (1 diff)
-
pmcl-kernel.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lisp-kernel/lisp-debug.c
r7902 r7909 873 873 if (xp) { 874 874 extern void *_sigtramp(); 875 875 extern int os_major_version; 876 876 877 if (xpPC(xp) == (natural)_sigtramp) { 877 xp = (ExceptionInformation *) xpGPR(xp, REG_RCX);878 fprintf(stderr, "Exception raised at _sigtramp; using context passed to _sigtramp. Raw register values (R) may be more interesting then lisp values or lisp backtrace ");878 xp = (ExceptionInformation *) xpGPR(xp,os_major_version < 9 ? REG_RSI :REG_RCX); 879 fprintf(stderr, "Exception raised at _sigtramp; using context passed to _sigtramp. Raw register values (R) may be more interesting then lisp values or lisp backtrace\n"); 879 880 } 880 881 } -
trunk/ccl/lisp-kernel/pmcl-kernel.c
r7137 r7909 1286 1286 #endif 1287 1287 1288 int 1289 os_major_version = 0; 1290 1288 1291 void 1289 1292 check_os_version(char *progname) … … 1296 1299 exit(1); 1297 1300 } 1301 sscanf(uts.release,"%d",&os_major_version); 1302 1298 1303 #ifdef PPC 1299 1304 #ifdef DARWIN
Note:
See TracChangeset
for help on using the changeset viewer.
