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

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Florian Weimer
CC: exim-dev, Sam Michaels
Assumpte: 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