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

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: Dennis Roellke
CC: exim-dev
Subject: 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