home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / gdb / bug / 1332 < prev    next >
Encoding:
Text File  |  1992-12-22  |  891 b   |  35 lines

  1. Newsgroups: gnu.gdb.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!csl.sri.com!dodd
  3. From: dodd@csl.sri.com (Chris Dodd)
  4. Subject: gdb attach bug
  5. Message-ID: <9212221809.AA28620@pekoe.csl.sri.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Tue, 22 Dec 1992 02:09:52 GMT
  10. Approved: bug-gdb@prep.ai.mit.edu
  11. Lines: 22
  12.  
  13. I discovered that the `attach' command in gdb 4.7 doesn't work (at least on
  14. sun4) -- it always gives an `attach not supported on this machine' error.
  15. Simple patch to fix it:
  16.  
  17.  
  18. *** inftarg.c.orig    Tue Dec 22 09:54:09 1992
  19. --- inftarg.c    Tue Dec 22 09:58:19 1992
  20. ***************
  21. *** 25,30 ****
  22. --- 25,31 ----
  23.   #include "wait.h"
  24.   #include "gdbcore.h"
  25.   #include "terminal.h"        /* For #ifdef TIOCGPGRP and new_tty */
  26. + #include "nm.h"            /* for ATTACH_DETACH */
  27.   
  28.   #include <signal.h>
  29.   
  30. -----------------------------
  31.  
  32. Chris Dodd
  33. dodd@csl.sri.com
  34.  
  35.