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

Re: [MiNT] gcc4 vs gcc2 crash "test case"



Andreas Schwab wrote:
"apropos" is your friend. (Try "apropos step".)

Thank you for apropos !
I tried stepi, but without any success.

I found some interesting things in the manual:
http://sourceware.org/gdb/current/onlinedocs/gdb_6.html#SEC43

set language asm
This seems to important a an optimized program without frame pointer, because the source line and frame information are not reliable (I think this was my main problem)

display/i $pc
In order to see what is the next instruction

step (or s)
In order to step a single line

That seems to be good enough !

--
Vincent Rivière