How to change the gdb in DDD

Página 1/3
| 2 | 3

Por sp4

Master (214)

Imagen del sp4

01-10-2011, 14:45

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?

Login sesión o register para postear comentarios

Por jltursan

Prophet (2619)

Imagen del jltursan

01-10-2011, 17:16

If you want to debug MSX programs, Your best bet will be to install openmsx-debugger package and get familiarized with it.

Por sp4

Master (214)

Imagen del sp4

01-10-2011, 20:42

Can openmsx-debugger debugs also the c code or only asm code?

Por Manuel

Ascended (19678)

Imagen del Manuel

01-10-2011, 22:59

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?

Por sp4

Master (214)

Imagen del sp4

01-10-2011, 23:12

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 !

Por Manuel

Ascended (19678)

Imagen del Manuel

02-10-2011, 09:41

Can you answer my question? How do you compile your C code?

Por PingPong

Enlighted (4155)

Imagen del PingPong

02-10-2011, 11:23

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?

Por sp4

Master (214)

Imagen del sp4

02-10-2011, 14:00

Manuel, I'm going to compile my c code with SDCC.

Por sp4

Master (214)

Imagen del sp4

02-10-2011, 14:02

PingPong, yes I'm, I'm meaning SDCC.
Can you tell me how to put gdb-z80 under DDD please?

Por PingPong

Enlighted (4155)

Imagen del PingPong

02-10-2011, 23:14

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

Por Metalion

Paragon (1628)

Imagen del Metalion

03-10-2011, 15:54

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.

Página 1/3
| 2 | 3