CVS: sml/src/runtime/mach-dep unix-fault.c,1.6,1.7
John Reppy <[email protected]>
| Newsgroups | gmane.comp.lang.sml.smlnj.commits |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/smlnj/sml/src/runtime/mach-dep
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9485
Modified Files:
unix-fault.c
Log Message:
Include faulting PC in bogus fault error message.
Index: unix-fault.c
===================================================================
RCS file: /cvsroot/smlnj/sml/src/runtime/mach-dep/unix-fault.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** unix-fault.c 16 May 2003 16:59:31 -0000 1.6
--- unix-fault.c 28 Apr 2005 20:51:18 -0000 1.7
***************
*** 87,91 ****
if (! SELF_VPROC->vp_inMLFlag)
! Die ("bogus fault not in ML: (%d, %#x)\n", signal, SIG_GetCode(info, scp));
/* Map the signal to the appropriate ML exception. */
--- 87,92 ----
if (! SELF_VPROC->vp_inMLFlag)
! Die ("bogus fault not in ML: sig = %d, code = %#x, pc = %#x)\n",
! signal, SIG_GetCode(info, scp), SIG_GetPC(scp));
/* Map the signal to the appropriate ML exception. */
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix