dhavey wrote:

> gdb looks like this:
> (gdb) run -l /var/log/ntpd.log -c /etc/ntp.gps
> Starting program: /usr/local/bin/ntpd -l /var/log/ntpd.log -c /etc/
> ntp.gps
> [Detaching after fork from child process 11958. (Try `set detach-on-
> fork off'.)]
> 
> Program exited normally.
> (gdb)

You've run gdb on the daemon starter process.

What I intended was that you ran

gdb ntpd core.xxxx

on the crash dump (you may need to use ulimit -c unlimited, to ensure 
you get a dump).

> 
> I took the -o2 flag out of the Makefile.  I don't know what you mean
> by an "unstripped version".

Do not run strip when installing it.  Do not run install with the -s 
option when installing it, or run the debugger against a version before 
these were run.

_______________________________________________
questions mailing list
questions@lists.ntp.org
https://lists.ntp.org/mailman/listinfo/questions

Reply via email to