home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gdb / bug / 1237 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.4 KB  |  49 lines

  1. Newsgroups: gnu.gdb.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!wrc.xerox.COM!leisner
  3. From: leisner@wrc.xerox.COM ( Marty Leisner)
  4. Subject: Attaching to a process
  5. Message-ID: <1992Nov19.143819.12246@spectrum.xerox.com>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: leisner@eso.mc.xerox.com
  8. Organization: Xerox
  9. Distribution: gnu
  10. Date: Thu, 19 Nov 1992 14:38:19 GMT
  11. Approved: bug-gdb@prep.ai.mit.edu
  12. Lines: 35
  13.  
  14. I'm using gdb-4.7 on sunOS 4.1.2.
  15.  
  16. When I do gdb +help, it says:
  17. This is GDB, the GNU debugger.  Use the command
  18.     gdb [options] [executable [core-file]]
  19. to enter the debugger.
  20.  
  21. It would be nice if there was a version there.
  22.  
  23. The arguments to gdb don't include a PID.
  24.  
  25. I did this:
  26.     ps | fgrep tin
  27.      7116 p7 S     0:01 xterm -title tin-debug -e bash
  28.      7122 p8 S     0:01 xterm -title tin -e tin
  29.      7187 p8 S     0:00 fgrep tin
  30.      7123 p9 IW    0:01 tin
  31.     leisner@annapurna$ gdb /usr/marty/bin/tin 7123
  32.     GDB is free software and you are welcome to distribute copies of it
  33.      under certain conditions; type "show copying" to see the conditions.
  34.     There is absolutely no warranty for GDB; type "show warranty" for details.
  35.     GDB 4.7, Copyright 1992 Free Software Foundation, Inc...
  36.  
  37.     /files3/leisner/src/tin-1.17/7123: No such file or directory.
  38.  
  39.     Can't attach to a process on this machine.
  40.  
  41. How do I attach to a process? 
  42.  
  43.  
  44. --
  45. marty
  46. leisner.henr801c@xerox.com  leisner@eso.mc.xerox.com
  47. Member of the League for Programming Freedom
  48.  
  49.