kgdb on ARM printing a bogus OOPs

Corey Minyard cminyard at mvista.com
Thu Apr 17 10:15:11 PDT 2014


I was playing with kgdb on ARM, and I noticed that every time it hits a
breakpoint I get the following:

  Internal error: Oops - undefined instruction: 0 [#3] PREEMPT SMP ARM

It's mostly harmless, the breakpoints still work, but all the printks
could be troublesome in some debugging situations.  It's there because
the notify_die() call was added after the printk in question.  I'd guess
it should be before the printk, but is there a reason it was added after?

Thanks,

-corey



More information about the linux-arm-kernel mailing list