Hi, i installed DDD for linux with under gdb but i don't know if this gdb is for intel or for z80.
I installed the gdb-z80 for linux but i don't know how can i change gdb for intel to gdb-z80 inside DDD.
Nobody can tell me how can i change the debugger under DDD?
Thank you very much?
If you want to debug MSX programs, Your best bet will be to install openmsx-debugger package and get familiarized with it.
Can openmsx-debugger debugs also the c code or only asm code?
Only asm. I've never heard of someone using actually gdb-z80, so I'm very interested to hear your experiences. I would expect that it only works if you compiled the program also with gcc for Z80. But as far as I know, that doesn't even exist. So, how are you going to pull this off?
No thanks i don't care about openmsx-debugger because it debug only asm code: i'm searching anything than can debug c code, because my code is c source.
Do you understand?
Nobody here in this forum can help me to put gdb-z80 under DDD?
Can you answer my question? How do you compile your C code?
are you meaning sdcc?
Manuel, I'm going to compile my c code with SDCC.
PingPong, yes I'm, I'm meaning SDCC.
Can you tell me how to put gdb-z80 under DDD please?
sorry i do not know. i use openMSX & bluemsx debuggers at assembly level
From cax (posted in wrong topic) :
Just found this with google - I hope this helps.
Interfacing SDCDB with DDD
The portable network graphics File http://sdcc.svn.sourceforge.net/viewvc/*checkout*/sdcc/trunk/
shows a screenshot of a debugging session with DDD (Unix only) on a
simulated 8032. The debugging session might not run as smoothly as the screenshot suggests. The debugger
allows setting of breakpoints, displaying and changing variables, single stepping through C and assembler code.
The source was compiled with
sdcc --debug ddd_example.c
and DDD was invoked with
ddd -debugger "sdcdb -cpu 8032 ddd_example"
I believe you have to do something similar.
Don't you have an account yet? Become an MSX-friend and register an account!