Re: [exim-dev] Running a delivery process under a debugger

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Florian Weimer
Kopio: exim-dev, Sam Michaels
Aihe: Re: [exim-dev] Running a delivery process under a debugger
On Tue, 31 Jan 2006, Florian Weimer wrote:

> > Have it queue the message and then do a delivery attempt yourself with -M.
>
> Exim still forks off a child process to do the delivery:
>
> 10180 pts/3    S+     0:00  |       \_ exim4 -M 1F3wi1-0002T4-5g
> 10181 pts/3    S+     0:00  |           \_ exim4 -M 1F3wi1-0002T4-5g


Yup. The main process runs as root; the delivery process runs as
something else. Surely there's some gdb option to attach to new
processes?

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book