Program terminated with signal 5, Trace/breakpoint trap

Jan Kratochvil
Fri Jul 16 16:04:00 GMT 2010

On Fri, 16 Jul 2010 17:52:40 +0200, Mathew Yeates wrote:
> After looking at the patch, it looks like the warning I was seeing was
> harmless and probably not responsible for my program terminating.
> Right?

Yes.  There is either some forgotten breakpoint in the inferior or some
un-waitpid()ed SIGTRAP signal left in the inferior, just guessing.


More information about the Gdb mailing list