home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / g / help / 1716 < prev    next >
Encoding:
Text File  |  1993-01-28  |  950 b   |  24 lines

  1. Newsgroups: gnu.g++.help
  2. 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
  3. From: jas@dcs.warwick.ac.uk (Jason Morris)
  4. Subject: Debugging multiple processes
  5. Message-ID: <1993Jan28.151226.1443@dcs.warwick.ac.uk>
  6. Sender: news@dcs.warwick.ac.uk (Network News)
  7. Nntp-Posting-Host: slate
  8. Organization: Department of Computer Science, Warwick University, England
  9. Date: Thu, 28 Jan 1993 15:12:26 GMT
  10. Lines: 12
  11.  
  12.  
  13.   Anyone know how to use gdb() with more than one process (e.g. parent and
  14. child) ? I've tried getting the processes up and running and then using
  15. "attach", but I just get:
  16.  
  17.        "Can't attach to a process on this machine."
  18.  
  19.   Any ideas how to get it running so you are debugging the child? The parent
  20. is easy as fork() always returns the pid of the child.
  21.  
  22.     Jas.
  23.  
  24.