From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23669 invoked by alias); 15 Mar 2011 15:43:36 -0000 Received: (qmail 23646 invoked by uid 22791); 15 Mar 2011 15:43:34 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Mar 2011 15:43:28 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p2FFhQXl002430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 15 Mar 2011 11:43:26 -0400 Received: from host1.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p2FFhOHE023164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Mar 2011 11:43:26 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p2FFhOOp019327; Tue, 15 Mar 2011 16:43:24 +0100 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p2FFhNKq019326; Tue, 15 Mar 2011 16:43:23 +0100 Date: Tue, 15 Mar 2011 15:45:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: Paul Pluzhnikov , gdb-patches ml , Doug Evans Subject: Re: [patch] Re: Advice on fixing gdb/12528 Message-ID: <20110315154323.GA19189@host1.jankratochvil.net> References: <20110315004140.GA28560@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2011-03/txt/msg00781.txt.bz2 On Tue, 15 Mar 2011 16:29:53 +0100, Tom Tromey wrote: > >>>>> "Paul" == Paul Pluzhnikov writes: > Jan> For a real testcase it should be in gdb.dwarf2/ (and then the special > Jan> compilation options are sure no longer needed). > > Paul> Sorry, I didn't follow that part. Why special options wouldn't be needed? > > What Jan means is that you can put a .S file into gdb.dwarf2. > That way the test is independent of compiler version (but unfortunately > then dependent on arch). Or coded like gdb.dwarf2/dw2-ref-missing-frame* with native code while still being arch-independent or the more simple case gdb.dwarf2/dw2-filename* where no native code was needed (and it is also arch-independent). But in both cases it is a pain to code it by hand. Regards, Jan