From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18108 invoked by alias); 22 Dec 2007 20:51:57 -0000 Received: (qmail 18100 invoked by uid 22791); 22 Dec 2007 20:51:57 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 22 Dec 2007 20:51:51 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 9396398244; Sat, 22 Dec 2007 20:51:49 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 7FC359801E; Sat, 22 Dec 2007 20:51:49 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1J6BK0-0008J0-HK; Sat, 22 Dec 2007 15:51:48 -0500 Date: Sat, 22 Dec 2007 21:08:00 -0000 From: Daniel Jacobowitz To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [patch] Basic DW_TAG_interface_type support Message-ID: <20071222205148.GA31891@caradoc.them.org> Mail-Followup-To: Jan Kratochvil , gdb-patches@sourceware.org References: <20071222192726.GA18166@host0.dyn.jankratochvil.net> <20071222200711.GA29494@caradoc.them.org> <20071222201440.GA19400@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071222201440.GA19400@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.17 (2007-12-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: 2007-12/txt/msg00401.txt.bz2 On Sat, Dec 22, 2007 at 09:14:40PM +0100, Jan Kratochvil wrote: > On Sat, 22 Dec 2007 21:07:11 +0100, Daniel Jacobowitz wrote: > > On Sat, Dec 22, 2007 at 08:27:26PM +0100, Jan Kratochvil wrote: > > > gdb/testsuite/ > > > 2007-12-22 Jan Kratochvil > > > > > > * gdb.arch/i386-interface.S, gdb.arch/i386-interface.exp: New files. > > > > Can you do this in gdb.dwarf2? > > I figured out only %s/gdb\.arch/gdb.dwarf2/g, is it right? > > The generated DWARF is unfortunately already arch-dependent. No, the gdb.dwarf2 tests are supposed to be architecture independent. I don't see why you couldn't write one that would work OK on multiple architectures; the dw2-basic.S example already includes a type. Anyway, the code patch is OK; I'll ask for someone else to decide whether this kind of testcase is useful (I'm not sure that it is). -- Daniel Jacobowitz CodeSourcery