mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-10 13:40:25 +00:00
(merge from 20020320)
(commented out): sleep(10) at startup to give enough time to attach GDB. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14
This commit is contained in:
@@ -1156,6 +1156,10 @@ void VG_(main) ( void )
|
||||
VGP_(init_profiling)();
|
||||
# endif
|
||||
|
||||
/* Hook to delay things long enough so we can get the pid and
|
||||
attach GDB in another shell. */
|
||||
/* {extern unsigned int sleep(unsigned int seconds); sleep(10);} */
|
||||
|
||||
if (VG_(clo_instrument)) {
|
||||
VGP_PUSHCC(VgpInitAudit);
|
||||
VGM_(init_memory_audit)();
|
||||
|
||||
@@ -1156,6 +1156,10 @@ void VG_(main) ( void )
|
||||
VGP_(init_profiling)();
|
||||
# endif
|
||||
|
||||
/* Hook to delay things long enough so we can get the pid and
|
||||
attach GDB in another shell. */
|
||||
/* {extern unsigned int sleep(unsigned int seconds); sleep(10);} */
|
||||
|
||||
if (VG_(clo_instrument)) {
|
||||
VGP_PUSHCC(VgpInitAudit);
|
||||
VGM_(init_memory_audit)();
|
||||
|
||||
Reference in New Issue
Block a user