User talk:Qiang0/Debugging

From WiiBrew
Jump to navigation Jump to search

Great idea, thank You. It will really come in handy for mplayer debugging for us without Gecko :) --User:Scip 21:02, 30 December 2009 (UTC)

ElectroKidd: Wonderful!!! really helpfull. Thank you too much! —Preceding unsigned comment added by ElectroKidd (talkcontribs) 20:19, 28 January 2010 (UTC)

Doesn't seem to work

Trying to port an SDL-based game to the Wii using devkitPPC under Linux x64, and I was hoping your tool would allow me to use gdb to interactively debug a crash. I am able to compile with your libdb.a and load the binary via wiiload, then connect via gdb using 'target remote ...'. Unfortunately, when I hit the crash, the connection seems to time out before gdb can detect the crash:

GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=powerpc-eabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /opt/devkitpro/projects/abuse/abuse-trunk/src/abuse...done.
(gdb) target remote 192.168.1.137:5656
Remote debugging using 192.168.1.137:5656
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Malformed response to offset query, timeout
(gdb)

--HunterZ 23:12, 16 September 2011 (CEST)