[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need help about GDB remote debugging
- Date: Wed, 6 Oct 1999 10:24:21 -0400 (EDT)
- From: qqi at world.std.com (Quality Quorum)
- Subject: Need help about GDB remote debugging
On Wed, 6 Oct 1999, Julien BEERNAERT wrote:
> Hello there,
> My goals are to get a GNAT/RTEMS cross development environment for Sparc
> based FORCE CPU-2CE board on a Sun Solaris host.
> I use a dummy BSP inspired from the ERC32 and Bare ones.
> I'm working actually in getting a gdb remote interface monitor on the
> FORCE target.
> I found the sparc-stub in gdb distribution (rdbmon, remcom.c). I'm
> searching for general or specific informations about :
> - How to adapt this stub to build a loadable monitor from the openboot
> monitor (by default on FORCE board) ?
Add stub to the program (do not forget to initialize it), then compile
image and load it by a standard monitor - this is the easiest way to go.
> - Must the application program be loaded using gdb through the debug
> serial line or must we use the basic command of the openboot monitor to
> load application before debugging ?
> - Samples source code for driving AMD Z85C30 serial controller (in the
> project of the sparc-stub modifications).
> Julien BEERNAERT
> julienb at hathor.cst.cnes.fr