From: tjoen AT dds DOT nl Subject: attach in gdb 9 Aug 1998 08:18:13 -0700 Message-ID: <199808091056.MAA21940.cygnus.gnu-win32@k9.dds.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT To: gnu-win32 AT cygnus DOT com W95, b19.1 Did what is needed in gdb.info: BASH.EXE-2.01$ ps TTY PID PPID PGID WIN32-PID UID STIME COMMAND -1 1000 1000 1000 -117681 500 11:29:09 H:\CYGNUS\B19\H-I386-CYGWIN32\BIN\BASH.EXE -1 1001 1000 1001 -77041 500 11:29:46 H:\CYGNUS\B19\H-I386-CYGWIN32\BIN\GDB.EXE -1 1011 1000 1011 -977917 500 11:49:37 H:\INGRES\BIN\SYSMONITOR.EXE -1 1013 1 1011 -84325 50011:49:37 H:\INGRES\BIN\SYSMODFUNC.EXE -1 1015 1000 1015 -93505 500 11:49:51 H:\CYGNUS\B19\H-I386-CYGWIN32\BIN\PS.EXE BASH.EXE-2.01$ jobs -l [1]- 1001 Running gdb creatdb & [2]+ 1011 Running ./creatdb demo & Strange that sysmonitor and sysmodfunc are not displayed. These are called with execv(vect[0], vect); in creatdb.exe and both contain a sleep (300); (gdb) file sysmonitor Reading symbols from sysmonitor ...done. (gdb) attach 1011 Can't attach to process. What am I doing wrong? Is there another way to debug a process called with execv? - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".