From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10916 invoked by alias); 17 Feb 2011 05:33:49 -0000 Received: (qmail 10907 invoked by uid 22791); 17 Feb 2011 05:33:48 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,TW_GD,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Feb 2011 05:33:41 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 312A62BAB16; Thu, 17 Feb 2011 00:33:40 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zwyEFHkeYM4A; Thu, 17 Feb 2011 00:33:40 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id A97382BAB23; Thu, 17 Feb 2011 00:33:39 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 7240F14586B; Thu, 17 Feb 2011 09:33:28 +0400 (RET) From: Joel Brobecker To: gdb-patches@sourceware.org Cc: Jan Kratochvil , Joel Brobecker Subject: [RFA] dw2-ranges.exp: Build dw2-ranges3.S with -gdwarf-2 (not -gstabs) Date: Thu, 17 Feb 2011 05:34:00 -0000 Message-Id: <1297920803-15681-1-git-send-email-brobecker@adacore.com> 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-02/txt/msg00404.txt.bz2 Jan, Do you think this might have been a typo? It seemed odd to me to be building one file with STABS in the middle of building with DWARF... gdb/testsuite/ChangeLog: * gdb.dwarf2/dw2-ranges.exp: Build dw2-ranges3.S with -gdwarf-2. Tested on x86_64-linux. --- gdb/testsuite/gdb.dwarf2/dw2-ranges.exp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp b/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp index 4fa3d02..d8dbb5f 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp @@ -38,7 +38,7 @@ if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objfile}" object {additiona if {[gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${objfile2}" object {additional_flags=-gdwarf-2}] != "" } { return -1 } -if {[gdb_compile "${srcdir}/${subdir}/${srcfile3}" "${objfile3}" object {additional_flags=-gstabs}] != "" } { +if {[gdb_compile "${srcdir}/${subdir}/${srcfile3}" "${objfile3}" object {additional_flags=-gdwarf-2}] != "" } { return -1 } if {[gdb_compile "${objfile} ${objfile2} ${objfile3}" "${binfile}" executable {}] != "" } { -- 1.7.1