mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-07 04:38:00 +00:00
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
This commit is contained in:
parent
072440a65a
commit
ff149206f5
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user