home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.g++.help
- Path: sparky!uunet!math.fu-berlin.de!ira.uka.de!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!warwick!dcs.warwick.ac.uk!jas
- From: jas@dcs.warwick.ac.uk (Jason Morris)
- Subject: Debugging multiple processes
- Message-ID: <1993Jan28.151226.1443@dcs.warwick.ac.uk>
- Sender: news@dcs.warwick.ac.uk (Network News)
- Nntp-Posting-Host: slate
- Organization: Department of Computer Science, Warwick University, England
- Date: Thu, 28 Jan 1993 15:12:26 GMT
- Lines: 12
-
-
- Anyone know how to use gdb() with more than one process (e.g. parent and
- child) ? I've tried getting the processes up and running and then using
- "attach", but I just get:
-
- "Can't attach to a process on this machine."
-
- Any ideas how to get it running so you are debugging the child? The parent
- is easy as fork() always returns the pid of the child.
-
- Jas.
-
-