🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Chris Dodd Tue, 22 Dec 1992 02:09
gdb attach bug
#540
Author: Chris Dodd
Date: Tue, 22 Dec 1992 02:09
21 lines
923 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads