From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10028 invoked by alias); 22 Nov 2006 20:30:21 -0000 Received: (qmail 10015 invoked by uid 22791); 22 Nov 2006 20:30:20 -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, 22 Nov 2006 20:30:09 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1GmyjK-0003tB-4V; Wed, 22 Nov 2006 15:30:02 -0500 Date: Wed, 22 Nov 2006 20:30:00 -0000 From: Daniel Jacobowitz To: Ulrich Weigand Cc: gdb-patches@sourceware.org Subject: Re: [RFA][2/5] New port: Cell BE SPU (valops.c fix) Message-ID: <20061122203002.GA14849@nevyn.them.org> Mail-Followup-To: Ulrich Weigand , gdb-patches@sourceware.org References: <20061122192845.GA12105@nevyn.them.org> <200611221955.kAMJt2MT006973@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200611221955.kAMJt2MT006973@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00267.txt.bz2 On Wed, Nov 22, 2006 at 08:55:02PM +0100, Ulrich Weigand wrote: > The problem occurs if there is a source-level variable of bitfield type > that currently resides in such a register, and the GDB user attempts to > assign to that variable. I'm not sure how you are using "bitfield type" here; could you post an example? i.e. do you mean: int x:7; or struct { int x:7; int y:25; } z; I'm wondering if you're describing the latter case, in which case the problem is that we're calling value_to_register on only part of the value we want in the register. -- Daniel Jacobowitz CodeSourcery