From: Jim Blandy <jimb@redhat.com>
To: Andrew Batchelor <A.C.Batchelor-99@student.lboro.ac.uk>
Cc: GDB Newsgroup <gdb@sources.redhat.com>
Subject: Re: GDB --> Parallel Port --> Target??
Date: Fri, 10 Oct 2003 19:32:00 -0000 [thread overview]
Message-ID: <vt2k77cao0b.fsf@zenia.home> (raw)
In-Reply-To: <1065804694.1168.9.camel@And.Linux>
Andrew Batchelor <A.C.Batchelor-99@student.lboro.ac.uk> writes:
> > It's been implemented many times over, and some implementations are
> > quite small and simple. See the files called *-stub.c in the GDB
> > source tree. Some of them are out-of-date, and none of them are
> > really tested or supported, but they'll give you the right idea.
>
> Have I understood this correctly? These stub files are mini-protocol
> converters? For the target or can they be adapted for my RV-ICE?
Well, they're not protocol converters. They're code that runs on the
target, along with your other code. They patch into the trap vectors
so that they get control when your program hits a breakpoint, gets a
segfault, executes an illegal instruction, etc. When GDB says
"continue", they just return from the trap, having frobbed registers
and memory however GDB asked.
I've never used an RV-ICE before, so I don't really know what sort of
interfaces they usually have. Not very helpful, I'm afraid.
next prev parent reply other threads:[~2003-10-10 19:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-07 10:00 Andrew Batchelor
2003-10-07 16:28 ` Jim Blandy
2003-10-08 13:44 ` Andrew Batchelor
2003-10-08 17:55 ` Jim Blandy
2003-10-10 16:49 ` Andrew Batchelor
2003-10-10 19:32 ` Jim Blandy [this message]
2003-10-08 19:37 ` Andrew Cagney
2003-10-10 16:53 ` Andrew Batchelor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vt2k77cao0b.fsf@zenia.home \
--to=jimb@redhat.com \
--cc=A.C.Batchelor-99@student.lboro.ac.uk \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox