• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 … 7 8 9 10 11 … 117 Next »

GDBStub not working
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
GDBStub not working
06-09-2020, 03:01 AM
#1
Leseratte10 Offline
Wiimmfi-Team
***
Posts: 56
Threads: 10
Joined: Apr 2019
I was trying to do some game debugging with gdb, and I enabled the USE_GDBSTUB compile option to enable that in Dolphin.

The GDB port is open, I can connect to it using gdb (target remote 127.1:port), but then I get errors in GDB:

Code:
(gdb) target remote 127.1:33345
Remote debugging using 127.1:33345
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
Remote replied unexpectedly to 'vMustReplyEmpty': timeout
(gdb)

I found this old thread where someone was trying to use it, but it seems as if it didn't work for him:
https://forums.dolphin-emu.org/Thread-gd...ncorrectly

Then I found this PR ( https://github.com/dolphin-emu/dolphin/pull/8262 ) which fixed something with the GDB Stub, but also states that it doesn't quite work at the moment.

Is there anything I can do to get this to work? It'd be cool to use Dolphin's GDB feature to debug my Wii stuff, as I can't easily include the libogc GDB library for multiple reasons.

Is it planned to improve / fix that GDB stub again at some point?
Find
Reply
06-09-2020, 09:00 AM
#2
skid Offline
skidau / skid_au
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,006
Threads: 8
Joined: Aug 2009
I suspect if you want the GDB stub to work for you, you'll have to fix it and submit a PR. Hope that doesn't sound like a cop-out answer. Last I looked it had the basic functions implemented and only worked with the interpreter core. The built-in debugger in Dolphin was what most of us used.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma