From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,df24052042508 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-05 09:39:42 PST Path: gmd.de!nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!news.ecn.bgu.edu!usenet.ins.cwru.edu!eff!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!ames!decwrl!pa.dec.com!virrus.zko.dec.com!diewald From: diewald@virrus.zko.dec.com (Jeff Diewald) Newsgroups: comp.unix.osf.osf1 Subject: Re: debugging detached daemon on OSF1 V1.3 Date: 5 May 1994 14:56:55 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <2qb1fn$asl@usenet.pa.dec.com> References: <2pr79u$neb@cismsun.univ-lyon1.fr> Reply-To: diewald@virrus.zko.dec.com (Jeff Diewald) NNTP-Posting-Host: virrus.zko.dec.com X-Newsreader: mxrn 6.18-9 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.