From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98086 invoked by alias); 6 Mar 2016 16:35:05 -0000 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 Received: (qmail 98060 invoked by uid 89); 6 Mar 2016 16:35:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_40,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=solving, UD:collection.exp, collectionexp, UD:unavailable.exp X-HELO: xyzzy.0x04.net Received: from xyzzy.0x04.net (HELO xyzzy.0x04.net) (109.74.193.254) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 06 Mar 2016 16:35:02 +0000 Received: from hogfather.0x04.net (89-65-66-135.dynamic.chello.pl [89.65.66.135]) by xyzzy.0x04.net (Postfix) with ESMTPS id C93DE4060A for ; Sun, 6 Mar 2016 17:35:57 +0100 (CET) Received: by hogfather.0x04.net (Postfix, from userid 1000) id F181058008A; Sun, 6 Mar 2016 17:34:59 +0100 (CET) From: =?UTF-8?q?Marcin=20Ko=C5=9Bcielnicki?= To: gdb-patches@sourceware.org Subject: [PATCH 0/8] Add regular tracepoint support for powerpc. Date: Sun, 06 Mar 2016 16:35:00 -0000 Message-Id: <1457282097-7201-1-git-send-email-koriakin@0x04.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00101.txt.bz2 This patchset adds regular tracepoint support for powerpc and fixes most test failures. Tested on powerpc, powerpc64, powerpc64le. Aside of the target-independent FAILs in collection.exp and unavailable.exp, the only FAILs left are on 32-bit, and they're all caused by const variables landing in .sdata instead of .rodata - since they're in a writable segment, they're not considered to be in an immutable area by gdbserver, and will be deemed unavailable if not explicitely collected. FWIW, running the testsuite with -mno-sdata fixes these. That's a special case of a more generic problem already causing the target-independent FAILs in unavailable.exp (involving unavailable vtables). We should probably utilize the debugging information to create additional immutable ranges for vtables and const variables, even if they end up in .data.relro, .sdata, etc. However, solving it is IMO outside of the scope of this patchset.