Article View: gnu.gdb.bug
Article #8780Attach on Suns in 4.7
From: Jonathan Corbet
Date: Mon, 07 Dec 1992 22:21
Date: Mon, 07 Dec 1992 22:21
15 lines
1318 bytes
1318 bytes
While trying to track down an urgent-type problem the other day, I gave an "attach" command, as I have done for a very long time. Much to my surprise, gdb came back with a "Can't attach to processes on this machine" message. Rather disconcerting -- I *used* to be able to... A bit of digging got me to inftarg.c, where the ATTACH_DETACH symbol was apparently not defined. That symbol is defined in nm-sun4os4.h, which has a link "nm.h" made to it. I don't know if this is the correct solution for all architectures, but I fixed the problem on my Suns by including nm.h into inftarg.c. -- Jonathan Corbet National Center for Atmospheric Research, Atmospheric Technology Division corbet@stout.atd.ucar.edu
Technical Details
Message-ID:
<1992Dec7.222127.8839@ncar.ucar.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!stout.atd.ucar.edu!corbetShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,87fe9460c543419c,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 1992-12-07 20:31:13 PST Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!stout.atd.ucar.edu!corbet From: corbet@stout.atd.ucar.edu (Jonathan Corbet) Subject: Attach on Suns in 4.7 Message-ID: <1992Dec7.222127.8839@ncar.ucar.edu> Sender: gnulists@ai.mit.edu Organization: Atmospheric Technology Division/NCAR Boulder, CO Distribution: gnu Date: Mon, 7 Dec 1992 22:21:27 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 16