From patchwork Mon Aug 18 19:10:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 2425 Received: (qmail 29505 invoked by alias); 18 Aug 2014 19:10:13 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 29493 invoked by uid 89); 18 Aug 2014 19:10:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f74.google.com Received: from mail-pa0-f74.google.com (HELO mail-pa0-f74.google.com) (209.85.220.74) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 18 Aug 2014 19:10:11 +0000 Received: by mail-pa0-f74.google.com with SMTP id lj1so1467812pab.3 for ; Mon, 18 Aug 2014 12:10:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:message-id:from:to:cc:subject; bh=4WRvLNlNDItxtZGdmUSuq30WFigvLe+Ir2uJ/Idp3kQ=; b=QkACaP/0G1bfVhHxly36ZJTQy9tpy640Tvi4PRje6tSS6gjveH3NWXB8nTvcvRs9eD zC7usEvkgi28hJitv/ZpGTTeCV6BlJ/w/m7xCZ48C4MRqYSC4d0YTjh5Gc3Ej5Pm+Dvw Ct769V2x60ro1E3j0kR7vk+ZBqbn5IQHY/7mZUKMDz9IoC+mywk4ar632jk+EWGWgNYu Op7xXxEbEypXt75l0C4mAQRWG9yL9mF7LyWv7JhQ2z493biIpGgkBz05YPSaThMVs22V r0fPWJJ19isqK9FbWIla5ZMAJBGqkqc3E7JO/NA6SFGJvG1RPRYpsrObU8B+qGy9qJ70 el+A== X-Gm-Message-State: ALoCoQmYdQM8qZeuz3O2ORA6aCstn3DHbQ5pHFgiX5NQ66e9YlAM6ARsYRNKn89BkDZ98TXan0A0 X-Received: by 10.68.116.42 with SMTP id jt10mr19278909pbb.5.1408389009720; Mon, 18 Aug 2014 12:10:09 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id v20si98055yhe.2.2014.08.18.12.10.09 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Aug 2014 12:10:09 -0700 (PDT) Received: from ruffy2.mtv.corp.google.com (ruffy2.mtv.corp.google.com [172.17.128.107]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id 147CF31C639; Mon, 18 Aug 2014 12:10:08 -0700 (PDT) Date: Mon, 18 Aug 2014 12:10:08 -0700 Message-Id: From: Doug Evans To: gdb-patches@sourceware.org cc: dblaikie@gmail.com Subject: [commit] boards/fission.exp: Explicitly pass -ggnu-pubnames for clang. X-IsSubscribed: yes Hi. I committed this for David. 2014-08-18 David Blaikie * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang. diff --git a/gdb/testsuite/boards/fission.exp b/gdb/testsuite/boards/fission.exp index 0947502..9c111ba 100644 --- a/gdb/testsuite/boards/fission.exp +++ b/gdb/testsuite/boards/fission.exp @@ -27,7 +27,9 @@ set_board_info compiler "[find_gcc]" # This requires a relatively recent version of gcc (>4.7) and gold # for the linker. -set_board_info debug_flags "-gdwarf-4 -gsplit-dwarf -fdebug-types-section -Wl,--gdb-index" +# Note: -ggnu-pubnames is required for Gold to build .gdb_index, and while +# -gsplit-dwarf implies -ggnu-pubnames for gcc, it doesn't for clang. +set_board_info debug_flags "-gdwarf-4 -gsplit-dwarf -ggnu-pubnames -fdebug-types-section -Wl,--gdb-index" # This is needed otherwise dejagnu tries to rsh to host "fission". Blech. # Double blech: set_board_info only sets the value if not already set.