SIGSEGV with b main
jhh <[email protected]>
| Newsgroups | gmane.comp.gdb.general |
|---|---|
| Organization | ADC |
| Message-ID | <[email protected]> |
[email protected] 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.