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

Re: [MiNT] GDB problem



W dniu 27.09.2011 19:43, Alan Hourihane pisze:
On 09/27/11 18:32, Adam Kłobukowski wrote:
W dniu 27.09.2011 19:10, Vincent Rivière pisze:
Adam Kłobukowski wrote:
I need a backtrack where app SIGFPEs. gdb only gives me one frame
(__udivsi3) and then 0x00000000. What can I do?

- First increase the stack size of your program to see if it still
crashes (stack overflows are very common)

Done both for gdb and debugged program.

- Be sure your program is not compiled with -fomit-frame-pointer (as it
disable the usage of stack frames)

There are only -fno-common and -ffast-math

- Decrease your optimization level, probably remove any -O option

No -O at all.

Still the same :(

If you feel brave, why not debug gdb and implement the issues that
Vincent brought up ?

That'll be really nice :-)

I'd need a serious skill powerup for that, sorry ;)

AdamK