]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Well, 5 seconds is too short for me to type a attach pid command
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 1 Oct 2016 14:10:59 +0000 (14:10 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 1 Oct 2016 14:10:59 +0000 (14:10 +0000)
so increase to 8 seconds.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16000

coregrind/m_main.c

index 9f3b8e41a8ccb8a9c310c59ab24b3c9ba83fd3e7..bb9f33b00886776d18662f4925ebfd53ca026d1f 100644 (file)
@@ -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);