From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20084 invoked by alias); 1 Oct 2008 03:18:52 -0000 Received: (qmail 20075 invoked by uid 22791); 1 Oct 2008 03:18:52 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 01 Oct 2008 03:18:12 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KksE6-0006BS-1j for gdb-patches@sources.redhat.com; Wed, 01 Oct 2008 03:18:10 +0000 Received: from 201.82.215.197 ([201.82.215.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Oct 2008 03:18:10 +0000 Received: from bauerman by 201.82.215.197 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Oct 2008 03:18:10 +0000 To: gdb-patches@sources.redhat.com From: Thiago Jung Bauermann Subject: Re: [rfc] expose gdb values to python Date: Wed, 01 Oct 2008 03:18:00 -0000 Message-ID: References: <20080921042657.GB29631@caradoc.them.org> <20080925114659.GA30878@caradoc.them.org> <1222704906.8567.45.camel@localhost.localdomain> <20080929165930.GA19283@caradoc.them.org> <1222747562.8567.87.camel@localhost.localdomain> <20080930124105.GA29401@caradoc.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.9 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: 2008-10/txt/msg00003.txt.bz2 Daniel Jacobowitz wrote: > And I think it should have the same solution. There's a default > architecture for these cases (depending on how GDB was built). Which is current_gdbarch, as far as I can tell. I'll provide a new version of the patch which uses it when gdb.Value cannot get one from a nearby type's objfile. -- []'s Thiago Jung Bauermann IBM Linux Technology Center