著者: Andrew C Aitchison 日付: To: Dan Liles CC: exim-users 題目: Re: [exim] Getting 4.88 on centos 7
On Fri, 3 Feb 2017, Dan Liles wrote:
> Hello Jeremy / Phil,
>
> Thanks for your replies - I was thinking of the debug object files so I can step through the code.
The debuginfo package Felix mentioned does that.
> One other question I have - is it safe to assume that the rpm
> version is built with the cc compiler and not the gcc one?
Hmm. Consider the output of
ls -l /usr/bin/cc
and
cc --version
versus
gcc --version
In fact on my SL6 box
strings /usr/sbin/exim | grep "Red Hat"
gives a string very similar to part of "gcc --version".
> Just wanted to know what debugger to use.
gdb would do, or there are several gdb front-ends, with more
"point-and-click", including at least on for emacs.
Single-stepping through a daemon is not the easiest thing in the world.