Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* debugging detached daemon on OSF1 V1.3
@ 1994-04-29 14:58 Gilles Rech
  1994-05-05 14:56 ` Jeff Diewald
  0 siblings, 1 reply; 2+ messages in thread
From: Gilles Rech @ 1994-04-29 14:58 UTC (permalink / raw)


My configuration: DEC Alpha with OSF1 V1.3.

I've been trying to debug a detached daemon (typically telnetd or ftpd) using
the /proc filesystem.
I mount the /procfilesystem (mount -t procfs /proc /proc) and then I try to
debug a running daemon by using 'dbx':

dbx file -pid pid
dbx: fatal error: -pid is not supported in bsd mode

I 've been told that it works on V2.0. Does somebody know the
right method and if it works on V1.3 ?
Thank in advance for any help.
--
		Gilles Rech.
		C.I.S.M., Universite Claude Bernard Lyon I & INSA Lyon, France.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: debugging detached daemon on OSF1 V1.3
  1994-04-29 14:58 debugging detached daemon on OSF1 V1.3 Gilles Rech
@ 1994-05-05 14:56 ` Jeff Diewald
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Diewald @ 1994-05-05 14:56 UTC (permalink / raw)



In article <2pr79u$neb@cismsun.univ-lyon1.fr>, gilles@cismhp.univ-lyon1.fr (Gilles Rech) writes:
|>My configuration: DEC Alpha with OSF1 V1.3.
|>
|>I've been trying to debug a detached daemon (typically telnetd or ftpd) using
|>the /proc filesystem.
|>I mount the /procfilesystem (mount -t procfs /proc /proc) and then I try to
|>debug a running daemon by using 'dbx':
|>
|>dbx file -pid pid
|>dbx: fatal error: -pid is not supported in bsd mode
|>
|>I 've been told that it works on V2.0. Does somebody know the
|>right method and if it works on V1.3 ?
|>Thank in advance for any help.
|>--
|>		Gilles Rech.
|>		C.I.S.M., Universite Claude Bernard Lyon I & INSA Lyon, France.
|>

Gilles,
   The attach support was added in DECladebug for V2.0 of OSF/1.  I am fairly
certain that the same support was added to dbx at about the same time.  Thus,
the reason it doesn't work on V1.3 is because the support isn't there.  (It
is my understanding that not all of the /proc support was available in 1.3,
which is why the debugger support couldn't get there earlier.)  If you upgrade 
to 2.0, you should be able to do what you want to do.
-------------------------------------------------------------------------------
	Jeff Diewald			EASYNET:   VIRRUS::DIEWALD
	DECladebug group		INTERNET:  diewald@virrus.zko.dec.com
	Digital Equipment Corp.

Note: I don't read every article in this group.  If you have debugger 
questions, you're much more likely to get an answer if you put "Debug" 
somewhere in the subject line.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-05-05 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-04-29 14:58 debugging detached daemon on OSF1 V1.3 Gilles Rech
1994-05-05 14:56 ` Jeff Diewald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox