From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19037 invoked by alias); 11 Apr 2003 15:41:05 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 19030 invoked from network); 11 Apr 2003 15:41:05 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 11 Apr 2003 15:41:05 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 2C25E2B2F; Fri, 11 Apr 2003 11:41:06 -0400 (EDT) Message-ID: <3E96E212.3000308@redhat.com> Date: Fri, 11 Apr 2003 15:41:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Warkentin Cc: gdb@sources.redhat.com Subject: Re: gdb/regformats References: <03ca01c3003b$f334a550$0202040a@catdog> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00114.txt.bz2 > I was looking at this directory and wondering what it's used for. I see > that gdbserver uses the reg definitions but I didn't see if/how gdb does. `A long term plan' is for remote.c to read them and, hence, allow run-time changes to the remote packet layout. > The reason is that our OS stores its i386 general purpose registers in a > different order than gdb does so in our tdep file we have to map them. I > was wondering if the regformats file might provide a more elegant way of > doing it. That mapping should be performed in the *-nat or *-remote file. Andrew