GDB stub
Kai Ruottu
karuottu@freenet.hut.fi
Sat Apr 1 00:00:00 GMT 2000
"Robert J. Brown" wrote:
> I am looking for a gdb stub to support ppc860 using the phantom serial
> port of the Grammar Engines RomICE ROM simulator. Does anyone have
> such a setup working? This is also on new custom hardware. We will
> be running C++ under eCos for this project.
From the eCos (TX39) manual :
> -------------------- clip -----------------------
>
> Appendix A: CygMon (Cygnus ROM Monitor)
> ---------------------------------------
>
> CygMon is a ROM monitor designed to be portable across a large
> number of embedded systems. It is also completely compatible with
> existing GDB protocols, thus allowing the use of a standard ROM
> monitor with existing GNU tools across a wide range of embedded
> platforms.
>
> CygMon has basic program handling and debugging commands,
> programs can be loaded into memory and run, and the contents of
> memory can be viewed. There are several more advanced options
> that can be included at compile time, such as a disassembler
> (this of course increases the code size significantly).
>
> Since CygMon contains a GDB remote stub, full debugging can be
> done from a host running GDB to a target running CygMon.
> Switching between CygMon monitor mode and GDB stub mode is
> designed to be transparent to the user, since CygMon can detect
> when GDB is communicating with the target and switch into stub
> mode. When GDB stops communicating with the target normally, it
> sends a termination packet which lets the stub know when to
> switch to the CygMon monitor mode.
> -------------------- clip -----------------------
The ARM manual mentions CygMon too, but the PPC-one seems to lack
it... Anyone tried CygMon? The sources should be there, but I don't
remember seeing them (only prebuilt images for some boards).
Cheers, Kai
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list