From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10094 invoked by alias); 27 Nov 2002 18:49:23 -0000 Mailing-List: contact rda-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rda-owner@sources.redhat.com Received: (qmail 10051 invoked from network); 27 Nov 2002 18:49:20 -0000 Date: Wed, 27 Nov 2002 10:49:00 -0000 From: Kevin Buettner Message-Id: <1021127184913.ZM31521@localhost.localdomain> In-Reply-To: Kevin Buettner "[RFC] Revise interfaces for *_bytes_{from,to}_reg()" (Nov 27, 11:33am) References: <1021127183338.ZM31443@localhost.localdomain> X-Mailer: Z-Mail (4.0.1 13Jan97 Caldera) To: rda@sources.redhat.com Subject: Re: [RFC] Revise interfaces for *_bytes_{from,to}_reg() MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-q4/txt/msg00004.txt.bz2 On Nov 27, 11:33am, Kevin Buettner wrote: > The patch below revises the gdbserv_{be,le,host}_bytes_{to,from}_reg() > interfaces so that the correct padding/truncation occurs when the source > and destination sizes differ. (I've thought about the problem of sign > extension on MIPS, but I'm punting on it for now.) Since I'm doing MIPS, I really can't punt on it for very long, so I'm thinking some more about it now... I'm considering adding gdbserv_{host,le,be}_signed_bytes_{to,from}_reg(). Another approach is to add a parameter (flag) to the existing functions which indicate whether signed or unsigned extension should be done. Opinions? Kevin