From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22924 invoked by alias); 17 May 2006 18:36:15 -0000 Received: (qmail 22913 invoked by uid 22791); 17 May 2006 18:36:14 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 17 May 2006 18:36:13 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FgQsU-0002yS-AM; Wed, 17 May 2006 14:36:10 -0400 Date: Wed, 17 May 2006 19:03:00 -0000 From: Daniel Jacobowitz To: Greg Page Cc: gdb-patches@sources.redhat.com Subject: Re: Patch for GDB rs6000-tdep.c Message-ID: <20060517183610.GA11377@nevyn.them.org> Mail-Followup-To: Greg Page , gdb-patches@sources.redhat.com References: <446B64BA.8050905@ind.alcatel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <446B64BA.8050905@ind.alcatel.com> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00383.txt.bz2 On Wed, May 17, 2006 at 12:00:26PM -0600, Greg Page wrote: > The attached is a patch for the file gdb-6.4/gdb/rs6000-tdep.c. > > The problem: The register definitions for the e500 assume only 4 bytes > per floating-point register but the gdbserver assumes 8 bytes per > floating-point register. Gdbserver in the FSF tree doesn't have any concept of the e500 registers. This isn't the only thing that isn't going to work. The right solution is to make GDB detect when it is talking to a gdbserver that supports e500, and have the two negotiate how big registers actually are. We're working on this, but it's complex. -- Daniel Jacobowitz CodeSourcery