This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
attach in gdb
- To: gnu-win32 at cygnus dot com
- Subject: attach in gdb
- From: tjoen at dds dot nl
- Date: Sun, 9 Aug 1998 12:54:58 +0000
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@cygnus.com" with one line of text: "help".