pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: segfault in strlen()?



On Tue, Jul 27, 2010 at 12:19:49AM -0500, John D. Baker wrote:
> I'm still trying to figure out how to attach gdb to the running process
> and have debugging symbols so I can step through a sample and see just
> what's being passed in...

make chat/unrealircd with DBG="-g -O0" to also avoid variables being
optimised out... (run process, use ps to get process number, gdb binary,
attach process number)

Good luck!

Patrick


Home | Main Index | Thread Index | Old Index