From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16371 invoked by alias); 5 Dec 2001 18:49:51 -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 16350 invoked from network); 5 Dec 2001 18:49:50 -0000 Received: from unknown (HELO localhost.cygnus.com) (216.138.202.10) by sources.redhat.com with SMTP; 5 Dec 2001 18:49:50 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 79D943D5E; Wed, 5 Dec 2001 13:49:47 -0500 (EST) Message-ID: <3C0E6C4B.7040102@cygnus.com> Date: Wed, 05 Dec 2001 10:49: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: twall@oculustech.com Cc: gdb@sources.redhat.com Subject: Re: packing/unpacking 4-octet longs References: <3C0CD32D.A118C5A0@oculustech.com> <3C0E4A96.6070601@cygnus.com> <3C0E5A06.8F79CFB4@oculustech.com> <3C0E617F.7020506@cygnus.com> <3C0E6556.A5F9D5D6@oculustech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00042.txt.bz2 > For the most part, I'm leaving lengths as octet lengths and adjusting them to target > lengths if necessary at the last possible instant. My remote server/stub will answer > 1-octet requests with the LS octet of the character addressed, though this is not a > recommended request, nor are 1-octet write requests. I think doing this would be a bad move. GDB shouldn't lie about how the target represents its data types. Best example of this I can think of is with the MIPS. GDB tried to lie and pretend that the MIPS didn't sign extended addresses. enjoy, Andrew