From: Daniel Jacobowitz <drow@false.org>
To: Buday Gergely <gergoe@math.bme.hu>
Cc: gdb@sources.redhat.com
Subject: Re: gdbserver vs. gdbstub
Date: Fri, 04 Mar 2005 15:42:00 -0000 [thread overview]
Message-ID: <20050304154213.GA1213@nevyn.them.org> (raw)
In-Reply-To: <Pine.LNX.4.60.0503041524020.16762@csusza.math.bme.hu>
On Fri, Mar 04, 2005 at 03:26:39PM +0100, Buday Gergely wrote:
> Hi folks,
>
> I have read Chapter 17 of the gdb manual that describes the usage of
> gdbserver and gdbstub. One thing was not clear: when to choose one over
> the other? I have a guess that one only need gdbstub when there's no
> operating system on the target machine or there are memory limitations
> that do not enable using the larger gdbserver. Am I right?
"gdb stub" is a generic term. GDB provides several low-level stubs,
which are basically just sample implementations; and gdbserver is
itself a "stub". It happens to be a stub that runs in user context
on Linux systems (with potential ports to other OSs that haven't been
done yet - a Windows port was contributed, but hasn't been integrated
yet - needs more cleanup).
Another user mode stub for Linux is Red Hat's RDA, and one
non-user-mode stub for Linux is kgdb. And then there are boot monitors
like redboot which can also serve as stubs.
--
Daniel Jacobowitz
CodeSourcery, LLC
prev parent reply other threads:[~2005-03-04 15:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-04 14:26 Buday Gergely
2005-03-04 15:42 ` Daniel Jacobowitz [this message]
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=20050304154213.GA1213@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=gergoe@math.bme.hu \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).