Is gdb support broken for Wii apps?
Posted: Fri Oct 08, 2010 12:22 pm
I had to use the debugger for the first time in a while today, but the _break() call crashes the app!
Add to template.c in the Wii examples:
Compiled and linked with -ldb
I get "Exception (Floating Point) occurred!" using devkitPPC r21 and libogc 1.8.4 on Linux. Comment out the _break() call and the example app runs as expected. Am I the only one experiencing this?
Add to template.c in the Wii examples:
Code: Select all
#include <debug.h>
int main( int argc, char **argv ) {
DEBUG_Init(GDBSTUB_DEVICE_USB, 1);
_break();
...
}
I get "Exception (Floating Point) occurred!" using devkitPPC r21 and libogc 1.8.4 on Linux. Comment out the _break() call and the example app runs as expected. Am I the only one experiencing this?