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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Phil Pennock
日付:  
To: Dennis Roellke
CC: exim-dev
題目: 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