Breakpoints in delay slots
Andrew STUBBS
andrew.stubbs@st.com
Thu Oct 19 09:52:00 GMT 2006
Michael Snyder wrote:
> Sorry to be terse, but...
>
> (1) -O0
Actually it can still happen that the first instruction in a line is the
nop in the delay slot, but that can be considered a compiler bug.
> (2) "Don't do that".
That's hardly the developer's choice.
In the real world people sometimes have to debug optimised code and
"don't do it" is not a useful answer.
Andrew
More information about the Gdb
mailing list