home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gdb.bug
- Path: sparky!uunet!cis.ohio-state.edu!csl.sri.com!dodd
- From: dodd@csl.sri.com (Chris Dodd)
- Subject: gdb attach bug
- Message-ID: <9212221809.AA28620@pekoe.csl.sri.com>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Tue, 22 Dec 1992 02:09:52 GMT
- Approved: bug-gdb@prep.ai.mit.edu
- Lines: 22
-
- I discovered that the `attach' command in gdb 4.7 doesn't work (at least on
- sun4) -- it always gives an `attach not supported on this machine' error.
- Simple patch to fix it:
-
-
- *** inftarg.c.orig Tue Dec 22 09:54:09 1992
- --- inftarg.c Tue Dec 22 09:58:19 1992
- ***************
- *** 25,30 ****
- --- 25,31 ----
- #include "wait.h"
- #include "gdbcore.h"
- #include "terminal.h" /* For #ifdef TIOCGPGRP and new_tty */
- + #include "nm.h" /* for ATTACH_DETACH */
-
- #include <signal.h>
-
- -----------------------------
-
- Chris Dodd
- dodd@csl.sri.com
-
-