From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3296 invoked by alias); 29 May 2003 15:29:55 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 3289 invoked from network); 29 May 2003 15:29:54 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 29 May 2003 15:29:54 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19LPMM-0003kG-00; Thu, 29 May 2003 10:30:30 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19LPLi-0002pZ-00; Thu, 29 May 2003 11:29:50 -0400 Date: Thu, 29 May 2003 15:29:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: Linux gdbserver: store register values with proper type Message-ID: <20030529152950.GA10807@nevyn.them.org> Mail-Followup-To: Jim Blandy , gdb-patches@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-05/txt/msg00541.txt.bz2 On Thu, May 29, 2003 at 01:28:29AM -0500, Jim Blandy wrote: > > 2003-05-29 Jim Blandy > > * linux-low.c (usr_store_inferior_registers): Transfer buf in > PTRACE_XFER_TYPE-sized chunks, not int-sized chunks. Otherwise, > if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing > away part of the register's value. This is almost OK. Could you correct the other int reference in the same block? -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer