What can I do with OOCD that I can't do with GDB?

I wonder what the main advantages is with using OpenOCD instead of using GDB? What can I do with OpenOCD that I can’t do with GDB - what’s the difference?

openocd is a gdb server, so unless your target has a built in gdbserver then you need openocd to use gdb.

Cheers

Spen

Ok. I’m using an embedded system with a MPIS processor, does it support MIPS as well? Or is there any GDB server supporting MIPS you can recommend?

Thanks

/Kristofer

Preliminary support for the mips m4k has been added to openocd but it is still work in progress.

you will have to google for others, most of the ones i have see are quite old.

what mips core are you using?

Cheers

Spen

So OpenOCD is an open source gdb server; there is another open source gdb server called gdbserver, which is a part of gdb (i guess). What is the difference between the two? Does OpenOCD support JTAG probes while gdbserver doesn’t?

I’m using an Amontec JTAG key by the way, and have already written a program which can communicate with the JTAG probe, which in turn can communicate with the MIPS cpu and tell it to execute certain instructions or read from certain register addresses.

Is there any way to modify/extend OpenODC to support MPIS processors as well? The core I’m using is 32 bit mips.

gdbserver runs on the target board (which is presumably running a multitasking os but can’t run gdb directly for some reason) and communicates with a gdb process on a host (which presumably has a display and keyboard). openocd runs on a host somewhere and communicates with the target board through a jtag connection. so they solve different problems.

as i said prelimary support is already in openocd for the mips core.

pretty much everything except breakpoints are working, had no time lately to finish.

patches are always welcome.

Cheers

Spen

ntfreak:
as i said prelimary support is already in openocd for the mips core.

pretty much everything except breakpoints are working, had no time lately to finish.

patches are always welcome.

What’s the current status on this?

Any Support for Broadcom BCM63xx??

what mips core is that based on?

The BCM6348 is based on MIPS32-R1 AFAIK.