From patchwork Wed Feb 19 21:36:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Zimmermann X-Patchwork-Id: 322017 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id F018F2C00BB for ; Thu, 20 Feb 2014 08:36:26 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to:cc; q=dns; s=default; b=RUXbSEhcAsXoK3UIdVHWD6TDL2rFQ3zXo17xBgVzHDH l8cbCpwHSSC8/AUscznzDV8hK4KeReR2E0KSgQGFTXVDtdX/sbR9x0IOB1HNoJgr Rkzo9hbVCbWZl0ZAOKB1IhUk80ZubW+rSau28oycN9bOfhyakl78XUti1T6N1eLc = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to:cc; s=default; bh=pHQgVaFiPwZiRTRCrV4i5r79A3g=; b=AOmtWvM2B8p4wgVGg mNgo7oyqlpzgIbMectpwdxNIFBampbbXCflO5iTXAIzWal1RC5cnE3eMayRWSmAP tilEVXCwNaPFSDLpoG2UK9WZQ6OFPu4czRjx8iXx9BOAn9S8BVYv95bCwolJpqyb Kx3ltb7KcamQMAyhpnd5XZ5N/c= Received: (qmail 10525 invoked by alias); 19 Feb 2014 21:36:18 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 10504 invoked by uid 89); 19 Feb 2014 21:36:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ee0-f52.google.com Received: from mail-ee0-f52.google.com (HELO mail-ee0-f52.google.com) (74.125.83.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 19 Feb 2014 21:36:16 +0000 Received: by mail-ee0-f52.google.com with SMTP id e53so500668eek.39 for ; Wed, 19 Feb 2014 13:36:12 -0800 (PST) X-Received: by 10.14.2.193 with SMTP id 41mr17428990eef.55.1392845772539; Wed, 19 Feb 2014 13:36:12 -0800 (PST) Received: from [127.0.1.1] (dslb-088-066-062-220.pools.arcor-ip.net. [88.66.62.220]) by mx.google.com with ESMTPSA id g1sm5456754eet.6.2014.02.19.13.36.10 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Feb 2014 13:36:11 -0800 (PST) MIME-Version: 1.0 Subject: [PATCH] debug/ltrace: pump ltrace to version 0.7.3 X-Mercurial-Node: 8349c35b506aa79c4e69eeab564e4c0657ca20a9 Message-Id: <8349c35b506aa79c4e69.1392845765@haus-VirtualBox> User-Agent: Mercurial-patchbomb/2.6.3 Date: Wed, 19 Feb 2014 22:36:05 +0100 From: Daniel Zimmermann To: "Yann E. MORIN" Cc: crossgcc@sourceware.org # HG changeset patch # User Daniel Zimmermann # Date 1392845763 -3600 # Wed Feb 19 22:36:03 2014 +0100 # Node ID 8349c35b506aa79c4e69eeab564e4c0657ca20a9 # Parent a8cb9039fadee8d34669d83824c8eb1f56805691 debug/ltrace: pump ltrace to version 0.7.3 pump ltrace to version 0.7.3 backport a patch from Peter Wu to silence warnings/errors in ltrace Signed-off-by: '"Peter Wu" ' Signed-off-by: '"Daniel Zimmermann" ' --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r a8cb9039fade -r 8349c35b506a config/debug/ltrace.in --- a/config/debug/ltrace.in Tue Feb 11 21:34:48 2014 +0100 +++ b/config/debug/ltrace.in Wed Feb 19 22:36:03 2014 +0100 @@ -15,6 +15,12 @@ # Don't remove next line # CT_INSERT_VERSION_BELOW + +config LTRACE_V_0_7_3 + bool + prompt "0.7.3" + + config LTRACE_V_0_5_3 bool prompt "0.5.3" @@ -30,6 +36,7 @@ string # Don't remove next line # CT_INSERT_VERSION_STRING_BELOW + default "0.7.3" if LTRACE_V_0_7_3 default "0.5.3" if LTRACE_V_0_5_3 default "0.5.2" if LTRACE_V_0_5_2 diff -r a8cb9039fade -r 8349c35b506a patches/ltrace/0.7.3/100-ltrace.git-a77b267abb870c935f9b4187ca31409fa5eb9dcb.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/ltrace/0.7.3/100-ltrace.git-a77b267abb870c935f9b4187ca31409fa5eb9dcb.patch Wed Feb 19 22:36:03 2014 +0100 @@ -0,0 +1,42 @@ +From a77b267abb870c935f9b4187ca31409fa5eb9dcb Mon Sep 17 00:00:00 2001 +From: Peter Wu +Date: Thu, 26 Sep 2013 00:55:55 +0200 +Subject: [PATCH] Fix compile warning about unused typedef + +Switch assertion to style as used by the Linux kernel (BUILD_BUG_ON) + +Signed-off-by: Peter Wu +--- + lens_default.c | 2 +- + value.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lens_default.c b/lens_default.c +index e0c0566..84b74ea 100644 +--- a/lens_default.c ++++ b/lens_default.c +@@ -345,7 +345,7 @@ format_array(FILE *stream, struct value *value, struct value_dict *arguments, + { + /* We need "long" to be long enough to cover the whole address + * space. */ +- typedef char assert__long_enough_long[-(sizeof(long) < sizeof(void *))]; ++ (void)sizeof(char[1 - 2*(sizeof(long) < sizeof(void *))]); + long l; + if (expr_eval_word(length, value, arguments, &l) < 0) + return -1; +diff --git a/value.c b/value.c +index d18db17..8caf98c 100644 +--- a/value.c ++++ b/value.c +@@ -284,7 +284,7 @@ value_init_deref(struct value *ret_val, struct value *valp) + + /* We need "long" to be long enough to hold platform + * pointers. */ +- typedef char assert__long_enough_long[-(sizeof(l) < sizeof(void *))]; ++ (void)sizeof(char[1 - 2*(sizeof(l) < sizeof(void *))]); + + value_common_init(ret_val, valp->inferior, valp, + valp->type->u.ptr_info.info, 0); +-- +1.8.5.2 +