From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26914 invoked by alias); 12 Nov 2001 05:57:36 -0000 Mailing-List: contact gdb-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26882 invoked from network); 12 Nov 2001 05:57:31 -0000 Received: from unknown (HELO localhost.cygnus.com) (24.114.42.213) by sourceware.cygnus.com with SMTP; 12 Nov 2001 05:57:31 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 5E2BA3EF7; Mon, 12 Nov 2001 00:57:31 -0500 (EST) Message-ID: <3BEF64CB.2010401@cygnus.com> Date: Thu, 01 Nov 2001 10:30:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.3) Gecko/20011020 X-Accept-Language: en-us MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: G packet format ... References: <3BEF5CF4.4010201@cygnus.com> <20011112004001.A11764@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2001-11/txt/msg00016.txt.bz2 >> 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? :-) Andrew