• 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 … 13 14 15 16 17 … 117 Next »

GDBStub work incorrectly
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Closed 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
GDBStub work incorrectly
12-16-2014, 11:58 PM
#1
RangerRus Offline
Junior Member
**
Posts: 7
Threads: 1
Joined: Dec 2014
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:
[Image: tw5lO5d.png]
#2 result with IDA 6.5
IDA 6.5:
[Image: Hg6iGMA.png]
[Image: IiD45GK.png]
[Image: Wbqygyt.png]
So, the question is how set up GDBStub properly, is there something missing?
Find
12-17-2014, 04:56 AM
#2
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
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.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
12-17-2014, 05:15 AM
#3
RangerRus Offline
Junior Member
**
Posts: 7
Threads: 1
Joined: Dec 2014
I don't know nicknames cause I'm newbie here, could you help me to contact them?
Find
12-17-2014, 06:11 AM
#4
Parlane Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 147
Threads: 1
Joined: Jan 2012
I'll look into this. Not sure why it would have stopped working. I would have thought it'd stop compiling first Tongue
Find
12-17-2014, 07:46 AM
#5
RangerRus Offline
Junior Member
**
Posts: 7
Threads: 1
Joined: Dec 2014
Thanks, Parlane, i'll wait for news.
Find
12-25-2014, 07:41 PM
#6
RangerRus Offline
Junior Member
**
Posts: 7
Threads: 1
Joined: Dec 2014
Have no progress from my side :/
Don't know how to fix it up.
Find
01-04-2015, 08:21 AM
#7
revel8n
Unregistered
 
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.
01-07-2015, 11:55 AM
#8
Parlane Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 147
Threads: 1
Joined: Jan 2012
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.
Find
01-10-2015, 10:02 PM
#9
RangerRus Offline
Junior Member
**
Posts: 7
Threads: 1
Joined: Dec 2014
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?
Find
01-11-2015, 06:28 PM
#10
Parlane Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 147
Threads: 1
Joined: Jan 2012
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.
Find
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Thread Closed 


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma