Dolphin, the GameCube and Wii emulator - Forums

Full Version: GDBStub work incorrectly
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello, Dolphin Emulator developers.
I trying to set up GDBStub in Dolphin Emulator for doing remote debugging with IDA.
In that purpose, I downloaded Dolphin sources, stable & master (dirty), and trying to compile stable on (1) VS2010 WinXP x32 and (2) VS2013 Win7 x64 ;; and master on (3) VS2013 Win7 x64.
master / stable
For activating GDBStub in source code, I activate code under "USE_GDBSTUB".
In all variations I have same result ([General] GDBPort = 20000):
#1 result with GNU toolchain for PPC
GNU toolchain for PPC: (Show Spoiler)
#2 result with IDA 6.5
So, the question is how set up GDBStub properly, is there something missing?
The GDBStub thing is very buggy and very experimental. I think it was only used by one or two people successfully, and that was a few months ago. Pinging them so they can check what's going on.
I don't know nicknames cause I'm newbie here, could you help me to contact them?
I'll look into this. Not sure why it would have stopped working. I would have thought it'd stop compiling first Tongue
Thanks, Parlane, i'll wait for news.
Have no progress from my side :/
Don't know how to fix it up.

revel8n

i am also interested in the current status of the gdb stub for use with remote debugging through ida pro.

i am planning on looking into it further at some point if no one else does, but at the moment i also have some changes i am working on to implement the remaining debug command handling within the USBGecko emulation. i am currently not sure i am implementing it in the best way to work with dolphin's design, but so far the changes i have made to Gecko.NET to connect through tcp/ip seem to work for the most part.

i plan to initially attempt to convert those changes into an ida pro debugger plugin in the meantime. But i have some similar gdb stub related work i am working on for other platforms, so it might be nice from a consistency standpoint if the gdb stub functionality worked for dolphin as well.
Ok so I am currently limited to windows, so I hacked the gdb stub to build on windows and it worked fine... Can you give me more details, such as the specific thing you were trying to run. What OS etc.
Compiled through VS2013 / VS2010
Windows 7 x64 / Windows XP x32
8GB DDR3 RAM
NVIDIA GeForce GTX 970
Intel Core 2 Duo, 3000 MHz

I don't think that this problem somehow connected with system parameters, most likely that I missed something in code.
Maybe trouble in Source\Core\Core\Src\PowerPC\GDBStub.cpp ? For make it work, I did much changes in it. Can I look in your version?
Maybe the actual issue is that it doesn't actually compile on Windows currently ? I'm not home for another week so I can't upload that code currently.
Pages: 1 2