home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / misc / discuss / 4608 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.2 KB

  1. Xref: sparky gnu.misc.discuss:4608 comp.sys.hp:15237
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!saimiri.primate.wisc.edu!tik.vtt.fi!tik.vtt.fi!tml
  3. From: tml@tik.vtt.fi (Tor Lillqvist)
  4. Newsgroups: gnu.misc.discuss,comp.sys.hp
  5. Subject: Re: Attaching gdb to a running process on an HP
  6. Date: 23 Jan 1993 09:07:14 GMT
  7. Organization: Technical Research Centre of Finland, Laboratory for Information
  8.     Processing (VTT/TIK)
  9. Lines: 13
  10. Message-ID: <TML.93Jan23110713@hemuli.tik.vtt.fi>
  11. References: <EARL.93Jan22154851@jsi-bwb.jade.ab.ca>
  12. NNTP-Posting-Host: tik.vtt.fi
  13. In-reply-to: earl@jade.ab.ca's message of Fri, 22 Jan 1993 22:48:51 GMT
  14.  
  15. >>>>> On Fri, 22 Jan 1993 22:48:51 GMT, earl@jade.ab.ca (Earl Locken) said:
  16.  
  17. >      We are using gdb 4.6 and gcc 2.2.2 on an HP (yes, I know there
  18. > are newer versions of gcc, but we are using 2.2.2 for now).  Is there
  19. > any way that we can attach gdb to a running process?  Will there ever
  20. > be a way, or does HP prevent anyone from reading core files?
  21.  
  22. As HP's debuggers (adb and xdb) can do it, gdb should be able to, if
  23. only somebody put in the necessary code. It's documented in ptrace(2).
  24. --
  25. Tor Lillqvist,
  26. working, but not speaking, for the Technical Research Centre of Finland,
  27. Laboratory for Information Processing (VTT/TIK).
  28.