home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!trwacs!epstein
- From: epstein@trwacs.fp.trw.com (Jeremy Epstein)
- Newsgroups: comp.os.mach
- Subject: gdb attach/detach on Mach 2.5?
- Message-ID: <701@trwacs.fp.trw.com>
- Date: 18 Aug 92 14:51:56 GMT
- Organization: TRW Systems Division, Fairfax VA
- Lines: 22
-
- [For those people on the machi386 distribution, I apologize for
- the duplicate posting.]
-
- Environment: Mach 2.5 on Gateway 2000 486 DX2/50
-
- We recently updated from a Sun 3 to a 486 platform (both running
- Mach 2.5). On our Sun 3 version of gdb, you could type "attach <pid>"
- (and "detach") and debug a process that was running. By adding the flag
- ATTACH_DETACH to gdb/m-i386.h, we were able to add the commands to
- the 386/486 version. However, the source code for the 486 version
- relies on the ptrace call, which is not present in Mach 2.5. Before
- I try to merge the (much older) Sun 3 code into the 486 version to
- support these commands, does anyone have a version of gdb that supports
- attach/detach?
-
- Thanks,
- --Jeremy
- --
- Jeremy Epstein Internet: epstein@trwacs.fp.trw.com
- Trusted X Research Group Voice: +1 703/803-4947
- TRW Systems Division
- Fairfax Virginia
-