From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26428 invoked by alias); 29 May 2002 22:17:16 -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 26407 invoked from network); 29 May 2002 22:17:09 -0000 Received: from unknown (HELO motgate2.mot.com) (136.182.1.10) by sources.redhat.com with SMTP; 29 May 2002 22:17:09 -0000 Received: [from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate2.mot.com (motgate2 2.1) with ESMTP id PAA19621 for ; Wed, 29 May 2002 15:17:09 -0700 (MST)] Received: [from mail.wm.sps.mot.com ([199.10.246.2]) by pobox.mot.com (MOT-pobox 2.0) with ESMTP id PAA25842 for ; Wed, 29 May 2002 15:17:08 -0700 (MST)] Received: from hyper.wm.sps.mot.com (hyper.wm.sps.mot.com [199.10.246.43]) by mail.wm.sps.mot.com (8.9.3/8.9.3) with ESMTP id SAA31939 for ; Wed, 29 May 2002 18:17:00 -0400 Received: by hyper.wm.sps.mot.com (8.11.2) id g4TMH7300610; Wed, 29 May 2002 18:17:07 -0400 Date: Wed, 29 May 2002 15:17:00 -0000 Message-Id: <200205292217.g4TMH7300610@hyper.wm.sps.mot.com> From: Peter Barada To: gdb@sources.redhat.com Subject: Re: support for different sized FPU registers X-SW-Source: 2002-05/txt/msg00325.txt.bz2 I'm trying to add GDB remote support for the ColdFire v4e, and I'm running into problems with the FPU register definitions. On the ColdFire v4e, the FPU registers are 64 bit, but the gdb is expecting 96 bit register values from a 68881. As a result I'm getting some 'Remote reply is too short' messages from gdb when the stub responds to a 'g' packet and on the host the register contents are all wrong(from 'info reg'). What's the best way of telling gdb(for the coldfire portion of a m68k-elf configured build) that the FPU registers are only 64 bits instead of 96)? I still want this configuration to support 040s and 060s which have the 96 bit FPU registers as well as a ColdFire's 64 bit FPU registers... Any suggestions are appreciated. -- Peter Barada Peter.Barada@motorola.com Wizard 781-852-2768 (direct) WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)