This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: SuperH DTF connection protocol
- To: Andrew Stubbs <Andrew dot Stubbs at st dot com>
- Subject: Re: SuperH DTF connection protocol
- From: tm <tm at kloo dot net>
- Date: Mon, 20 Aug 2001 18:37:38 -0700
- Cc: newlib at sources dot redhat dot com
- References: <Pine.GSO.4.10.10108200950040.6019-100000@absolut>
Andrew Stubbs wrote:
...
> The standard setup for newlib on the sh (I don't know about other
> platforms) is to communicate with the outside world (read, write, open,
> ...) using a trap. As I understand it this is something understood by the
> gdb simulator - it does not work on an actual sh chip and board.
It can work with an actual SH chip and board.
I've ported the debug stub to the SH4 twice, and I redirected the traps
to print the printfs inside the debugger using the "O" command (iirc).
Also, I think GDB supports an encapsulation protocol whereby you can
send
private data through the GDB link. It's been a while since I've looked
at the source, so you may want to verify this.
Toshi