Re: [exim-dev] GDB step by step exim

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Phil Pennock
Data:  
Para: Dennis Roellke
CC: exim-dev
Asunto: Re: [exim-dev] GDB step by step exim
On 2020-07-16 at 00:07 -0400, Dennis Roellke via Exim-dev wrote:
> I’d like to understand better how exim processes EHLO messages. Ideally, I could use gdb to set a breakpoint and step through from wherever I want. Unfortunately, exim just ignores any breakpoints... it hits them for sure, bc I see the print stmts. It must have to do with exims threading. I tried detach-on-fork off, but no luck.


Exim doesn't thread. It does fork some processes.

More likely, you have a setuid binary, which is disabling ptracing.

-Phil