From: Philippe Waroquiers Date: Sat, 1 Oct 2016 14:10:59 +0000 (+0000) Subject: Well, 5 seconds is too short for me to type a attach pid command X-Git-Tag: svn/VALGRIND_3_13_0~366 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff149206f5afb57fdeb07b402f461d9f67d0c4da;p=thirdparty%2Fvalgrind.git Well, 5 seconds is too short for me to type a attach pid command so increase to 8 seconds. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16000 --- diff --git a/coregrind/m_main.c b/coregrind/m_main.c index 9f3b8e41a8..bb9f33b008 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -2166,7 +2166,7 @@ Int valgrind_main ( Int argc, HChar **argv, HChar **envp ) /* Hook to delay things long enough so we can get the pid and attach GDB in another shell. */ if (VG_(clo_wait_for_gdb)) { - const int ms = 5000; // milliseconds + const int ms = 8000; // milliseconds VG_(debugLog)(1, "main", "Wait for GDB during %d ms\n", ms); VG_(printf)("pid=%d, entering delay %d ms loop\n", VG_(getpid)(), ms); VG_(poll)(NULL, 0, ms);