This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
exceptions.cc - stackdump file - patch to identify version and builddate
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 13 Jun 2003 07:48:18 -0400
- Subject: exceptions.cc - stackdump file - patch to identify version and builddate
- Reply-to: cygwin-patches at cygwin dot com
2003-06-13 Earnie Boyd <earnie@users.sf.net>
* exceptions.cc (exception): Output version and build date information
to the stackdump.
Index: exceptions.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/exceptions.cc,v
retrieving revision 1.149
diff -u -3 -p -r1.149 exceptions.cc
--- exceptions.cc 12 Jun 2003 12:36:07 -0000 1.149
+++ exceptions.cc 13 Jun 2003 11:43:05 -0000
@@ -22,6 +22,7 @@ details. */
#include "shared_info.h"
#include "perprocess.h"
#include "security.h"
+#include "cygwin_version.h"
#define CALL_HANDLER_RETRY 20
@@ -206,6 +207,11 @@ exception (EXCEPTION_RECORD *e, CONTEXT
#ifdef __i386__
#define HAVE_STATUS
+ small_printf ("CYGWIN-%d.%d.%d Build:%s\r\n",
+ cygwin_version.dll_major / 1000,
+ cygwin_version.dll_major % 1000,
+ cygwin_version.dll_minor,
+ cygwin_version.dll_build_date);
if (exception_name)
small_printf ("Exception: %s at eip=%08x\r\n", exception_name, in->Eip);
else