Dc-tool and gdb

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
User avatar
ThePerfectK
Insane DCEmu
Insane DCEmu
Posts: 147
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Thu Apr 27, 2006 10:15 am
Has thanked: 27 times
Been thanked: 35 times

Dc-tool and gdb

Post by ThePerfectK »

Hi,
Im trying to set up a debugging environment using dc-tool. I have dc-tool compiled and can connect and upload an elf to my dreamcast, but I can't seem to enable gdb. When I pass the -g flag to dc-tool, I get an error saying that parameter --g is unrecognized. I've been searching previous topics for help, and found one other person who was getting this error, but he claims he figured out yhe reason for the error was because dc-tool expects the -g flag to be the first passed, which is what I am doing. Any one with experience with gdb and dc-tool willing to help out? Running the latest stable ubuntu witha fresh kos install.
Still Thinking!~~
User avatar
rpk
DC Developer
DC Developer
Posts: 16
Joined: Thu Dec 29, 2016 1:02 pm
Has thanked: 10 times
Been thanked: 12 times

Re: Dc-tool and gdb

Post by rpk »

Hi,

I've only just started using dc-tool but tried passing -g and got "Starting a GDB server on port 2159". I built dc-tool 1.0.5 from the SourceForge repo: https://sourceforge.net/p/cadcdev/dcloa ... ster/tree/ (latest commit at the time of writing is 25114e).

Here's the binary I'm using (64-bit debian) - try that and see if it works?
http://www.filedropper.com/dc-tooltar

Cheers,
Ross
User avatar
ThePerfectK
Insane DCEmu
Insane DCEmu
Posts: 147
Joined: Thu Apr 27, 2006 10:15 am
Has thanked: 27 times
Been thanked: 35 times

Re: Dc-tool and gdb

Post by ThePerfectK »

Hi,

sorry for the late reply (real life got in the way) but your filedropper link seems to have died. Would you mind reuploading it for me?
Still Thinking!~~
Post Reply