gdb
[Top][All Lists]
Advanced

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

SIGSEGV with b main


From: jhh
Subject: SIGSEGV with b main
Date: Mon, 11 Feb 2008 15:50:38 -0500
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

address@hidden wrote:
(gdb) b main
Breakpoint 1 at 0x401050: file Program received signal SIGSEGV, Segmentation fault.

Sometimes gdb behaves better for me if I am more specific. Try putting the break at line 15, in the body of your program, ie, b main:15. This way all the stack adjustments are assured of being finished.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]