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] |
When compiling the cygwin dll from cvs, without --enable-debugging the build fails in winsup/cygwin/exceptions.cc because console_printf has no prototype defined without DEBUGGING set.
diff -u -r1.201 exceptions.cc --- src/winsup/cygwin/exceptions.cc 8 Feb 2004 19:59:27 -0000 1.201 +++ src/winsup/cygwin/exceptions.cc 9 Feb 2004 01:38:53 -0000 @@ -361,8 +361,11 @@ } }
+#ifdef DEBUGGING console_printf ("*** starting debugger for pid %u\n", cygwin_pid (GetCurrentProcessId ())); +#endif + BOOL dbg; dbg = CreateProcess (NULL, debugger_command, @@ -387,8 +390,10 @@ Sleep (2000); }
+#ifdef DEBUGGING console_printf ("*** continuing pid %u from debugger call (%d)\n", cygwin_pid (GetCurrentProcessId ()), dbg); +#endif
SetThreadPriority (GetCurrentThread (), prio); return dbg;
-- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |