From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24016 invoked by alias); 23 Nov 2006 16:16:53 -0000 Received: (qmail 24005 invoked by uid 22791); 23 Nov 2006 16:16:52 -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; Thu, 23 Nov 2006 16:16:46 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1GnHFh-00033w-Sv; Thu, 23 Nov 2006 11:16:41 -0500 Date: Thu, 23 Nov 2006 16:16: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: <20061123161641.GA11679@nevyn.them.org> Mail-Followup-To: Ulrich Weigand , gdb-patches@sourceware.org References: <20061122224819.GA19267@nevyn.them.org> <200611231357.kANDvJNm031673@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200611231357.kANDvJNm031673@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/msg00279.txt.bz2 On Thu, Nov 23, 2006 at 02:57:19PM +0100, Ulrich Weigand wrote: > However, we don't have the enclosing type in the data structure > at all, which makes it difficult. I'm wondering whether we can > employ the value_enclosing_type (and related) fields for this > purpose, but I'm not completely sure how that would interact > with the C++ use of those. Very badly, I suspect: parts of GDB would probably start assuming that "int" was a base class of "array of four ints", which isn't quite right. I suppose there's times we want to destroy the rest of the register, so knowing where it is in the register isn't enough? -- Daniel Jacobowitz CodeSourcery