This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Breakpoints in delay slots


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]