Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: gdb@sources.redhat.com
Subject: Re: G packet format ...
Date: Thu, 01 Nov 2001 10:58:00 -0000	[thread overview]
Message-ID: <20011112011400.A13250@nevyn.them.org> (raw)
In-Reply-To: <3BEF64CB.2010401@cygnus.com>

On Mon, Nov 12, 2001 at 12:57:31AM -0500, Andrew Cagney wrote:
> >>NB: Why do this?
> >>
> >>The objective is to decouple the remote protocol's G packet from the 
> >>rest of GDB.  That way, GDB has greater flexability in how it implements 
> >>its regcache.  For instance, with the MIPS, it will be possible to have 
> >>a single internal register layout while still being able to connect to 
> >>all the remote MIPS targets.
> >
> >
> >I guess I posted my gdbserver register cache patch before I converted
> >it to generate them from a shell script.  Here's what I've been using. 
> >I didn't consider the issue of only-transferable-in-P-packet registers
> >(and I still don't see a good reason... well, maybe I can come up with
> >one, actually.  Things that react when read.).
> 
> [x86 example deleted]
> 
> Doesn't the x86 have the potential for 4 billion MSRs? :-)

I wouldn't know :)  It's my least-familiar platform; I only picked it
because the register data was short :P

I'm a little skeptical of using the P packet for registers
not-present-in-all-cases, either.  Perhaps in the morning I'll be able
to figure out why.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2001-11-12  6:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-01  9:37 Andrew Cagney
2001-11-01 10:18 ` Daniel Jacobowitz
2001-11-01 10:30   ` Andrew Cagney
2001-11-01 10:58     ` Daniel Jacobowitz [this message]
2001-11-05  8:04       ` Andrew Cagney
2001-11-01 12:30 ` Fernando Nasser
2001-11-01 12:51   ` Andrew Cagney
2001-11-01 16:51 ` Frank Ch. Eigler
2001-11-02  0:37   ` Andrew Cagney
2001-11-05  8:19 ` Andrew Cagney

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=20011112011400.A13250@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=ac131313@cygnus.com \
    --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