mipsel-gdb breakpoint from source code

It seems that gdb is failing to find breakpoints if a class is implemented in the header file. Therefore I am trying to force a breakpoint from the source. I guess I need the mips equivalent of asm("int3"). Any ideas?

PS: asm("break 3") does not work

Answers


Try __volatile__ __asm__("break");


Need Your Help

IAP subscription

subscription in-app-purchase

I'm developing a specialist app which generates digital output (a spreadsheet) depending on a set of input parameters. The app is growing and based on the fact that Apple won't charge for app-upgra...

Do you use nouns for classnames that represent callable objects?

coding-style functor callable

There is a more generic question asked here. Consider this as an extension to that.