How to change the gdb in DDD
If you want to debug MSX programs, Your best bet will be to install openmsx-debugger package and get familiarized with it.
By Google
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?
Thanks !
Can you answer my question? How do you compile your C code?
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?
Thanks !
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?
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.
5.1.6
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/doc/figures/ddd_example.png
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.

By sp4
Expert (65)
01-10-2011, 14:45