From: <sv...@va...> - 2009-03-15 22:11:27
|
Author: sewardj Date: 2009-03-15 22:11:06 +0000 (Sun, 15 Mar 2009) New Revision: 9409 Log: Disable (initialisation of) the debugstub mechanism on Darwin. It causes problems getting repeatable regression test runs when two regtest runs happen simultaneously on the same machine, since processes in one run grab the debug port and cause processes in the other run to print a warning message about its non-availability, thus messing up their stderrs. Modified: branches/DARWIN/coregrind/m_main.c Modified: branches/DARWIN/coregrind/m_main.c =================================================================== --- branches/DARWIN/coregrind/m_main.c 2009-03-14 09:07:28 UTC (rev 9408) +++ branches/DARWIN/coregrind/m_main.c 2009-03-15 22:11:06 UTC (rev 9409) @@ -2034,11 +2034,13 @@ // p: scheduler, process_cmd_line_options() //-------------------------------------------------------------- #if defined(VGO_darwin) +#if 0 if (VG_(clo_db_listen) && VG_(clo_verbosity) > 0) { VG_(debugLog)(1, "main", "Listening for debugger on port %d\n", VG_(clo_db_listen_port)); VG_(debugstub_init)(); } +#endif #else // DDD: Only Darwin does this for the moment. #endif |