home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gdb.bug
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!wrc.xerox.COM!leisner
- From: leisner@wrc.xerox.COM ( Marty Leisner)
- Subject: Attaching to a process
- Message-ID: <1992Nov19.143819.12246@spectrum.xerox.com>
- Sender: gnulists@ai.mit.edu
- Reply-To: leisner@eso.mc.xerox.com
- Organization: Xerox
- Distribution: gnu
- Date: Thu, 19 Nov 1992 14:38:19 GMT
- Approved: bug-gdb@prep.ai.mit.edu
- Lines: 35
-
- I'm using gdb-4.7 on sunOS 4.1.2.
-
- When I do gdb +help, it says:
- This is GDB, the GNU debugger. Use the command
- gdb [options] [executable [core-file]]
- to enter the debugger.
-
- It would be nice if there was a version there.
-
- The arguments to gdb don't include a PID.
-
- I did this:
- ps | fgrep tin
- 7116 p7 S 0:01 xterm -title tin-debug -e bash
- 7122 p8 S 0:01 xterm -title tin -e tin
- 7187 p8 S 0:00 fgrep tin
- 7123 p9 IW 0:01 tin
- leisner@annapurna$ gdb /usr/marty/bin/tin 7123
- GDB is free software and you are welcome to distribute copies of it
- under certain conditions; type "show copying" to see the conditions.
- There is absolutely no warranty for GDB; type "show warranty" for details.
- GDB 4.7, Copyright 1992 Free Software Foundation, Inc...
-
- /files3/leisner/src/tin-1.17/7123: No such file or directory.
-
- Can't attach to a process on this machine.
-
- How do I attach to a process?
-
-
- --
- marty
- leisner.henr801c@xerox.com leisner@eso.mc.xerox.com
- Member of the League for Programming Freedom
-
-