public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Guillaume MENANT <guillaume.menant@geensys.com>
Cc: gdb@sourceware.org
Subject: Re: GDB commands and GDB protocol
Date: Thu, 11 Oct 2007 12:53:00 -0000	[thread overview]
Message-ID: <20071011125320.GA12521@caradoc.them.org> (raw)
In-Reply-To: <470E19ED.1090608@geensys.com>

On Thu, Oct 11, 2007 at 02:41:17PM +0200, Guillaume MENANT wrote:
> I've found this page : 
> http://sources.redhat.com/gdb/onlinedocs/gdb_33.html#SEC679
> I still have some questions :
> - We just have to handle commands from the page above to manage the GDB 
> protocol (in TCP) ? The is no specific encapsulation ?

The Overview at the top of that page describes the encapsulation.

> - How does Eclipse will know internal registers of my chip (registers like sp, 
> pc,  ...) ? Using qXfer and a XML file ? Is it mandatory for a debugger to know 
> internal registers ?

The standard registers, like sp and pc, Eclipse will get the names
directly from GDB.  It's only if you have extra board-specific or
core-specific registers that you need to deal with XML descriptions.

-- 
Daniel Jacobowitz
CodeSourcery

  reply	other threads:[~2007-10-11 12:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-11  8:13 Guillaume MENANT
2007-10-11 12:13 ` Daniel Jacobowitz
2007-10-11 12:41   ` Guillaume MENANT
2007-10-11 12:53     ` Daniel Jacobowitz [this message]
2007-10-11 13:00 Guillaume MENANT
2007-10-11 13:08 ` Daniel Jacobowitz
2007-10-12  7:35   ` Guillaume MENANT
2007-10-12 11:55     ` Daniel Jacobowitz

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=20071011125320.GA12521@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=guillaume.menant@geensys.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).