On Wed, Aug 28, 2013 at 04:17:24PM +0500, Taimoor Mirza wrote: > Thanks for your reply. Below are answers > > $ grep CONFIG_COROUTINE_BACKEND config-host.mak > CONFIG_COROUTINE_BACKEND=win32 > > (gdb) r > Starting program: C:\tools\qemu\qemu-system-arm.exe > -M realview-eb -m 256 -kernel Debug\\\\KD2.out -sd fat:16:rw:C:\\testCard > [New Thread 3836.0x404] > [New Thread 3836.0x87c] > [New Thread 3836.0xd14] > [New Thread 3836.0xc58] > [Inferior 1 (process 3836) exited with code 03] > (gdb) bt > No stack.
It seems that gdb on Windows does not catch abort(3) - perhaps because SIGABRT is not used (on Linux gdb will intercept SIGABRT and return to the gdb prompt). So you may need to set a breakpoint on abort(3) instead: (gdb) b abort (gdb) r [...runs until abort(3) is called...] (gdb) bt