From ff149206f5afb57fdeb07b402f461d9f67d0c4da Mon Sep 17 00:00:00 2001 From: Philippe Waroquiers Date: Sat, 1 Oct 2016 14:10:59 +0000 Subject: [PATCH] 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 --- coregrind/m_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.2