Subject: Re: Debugging apps with fork()
To: Brett Lymn <blymn@awadi.com.AU>
From: David Brownlee <D.K.Brownlee@city.ac.uk>
List: netbsd-help
Date: 07/19/1995 14:51:11
Sorry - all my machines are in various states of '-current'ness, so
I do not have a 1.0 to test on...
If it doesn't work - then you need to pick option b) :(
b) comment out the fork() (or daemon()) call :)
David
D.K.Brownlee@city.ac.uk (MIME) +44 171 477 8186 {post,host}master (abs)
Network Analyst, UCS, City University, Northampton Square, London EC1V 0HB.
<<< Monochrome - Largest UK Internet BBS - try telnet mono.city.ac.uk >>>
On Wed, 19 Jul 1995, Brett Lymn wrote:
> According to David Brownlee:
> >
> >
> > a) run the app normally , the attach to it after it has forked.
> > ie. 'gdb <progname> <pid>'
> >
>
> Does this work under netbsd-1.0? Last time I tried doing this sort of
> thing with gdb I got a "you can't do that here" sort of message.
> Could just be that my stuff is way out of date....
>
> --
> Brett Lymn, Computer Systems Administrator, AWA Defence Industries
> ===============================================================================
> "It's fifteen hundred miles to Ankh-Morpork" he said. "We've got
> three hundred and sixty three elephants, fifty carts of forage, the
> monsoon's about to break and we're wearing ... we're wearing ... sort
> of things, like glass, only dark... dark glass things on our eyes..."
> - Terry Pratchett "Moving Pictures".
>
>