This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: exceptions.cc - stackdump file - patch to identify version andbuild date


What's up? It seems to me that I'm being ignored. I would have thought a little discussion or CVS update would have ensued.

Earnie.

Earnie Boyd wrote:

------------------------------------------------------------------------


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]