From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122138 invoked by alias); 12 Feb 2016 18:32:03 -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 122126 invoked by uid 89); 12 Feb 2016 18:32:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=sk:Debian-, sk:Debian, sk:debian, sk:debian- X-HELO: usplmg21.ericsson.net Received: from usplmg21.ericsson.net (HELO usplmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 12 Feb 2016 18:32:01 +0000 Received: from EUSAAHC002.ericsson.se (Unknown_Domain [147.117.188.78]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id 75.D5.32102.8052EB65; Fri, 12 Feb 2016 19:31:36 +0100 (CET) Received: from elxa4wqvvz1 (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.78) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 12 Feb 2016 13:31:58 -0500 References: <56BB4004.1090708@redhat.com> <1455185675-27574-1-git-send-email-koriakin@0x04.net> <56BC85E8.6010409@redhat.com> <56BC97F1.3020108@0x04.net> User-agent: mu4e 0.9.17; emacs 24.4.1 From: Antoine Tremblay To: Marcin =?utf-8?Q?Ko=C5=9Bcielnicki?= CC: Pedro Alves , Subject: Re: [PATCH] gdb.trace: Add a testcase for tdesc in tfile. In-Reply-To: <56BC97F1.3020108@0x04.net> Date: Fri, 12 Feb 2016 18:32:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00422.txt.bz2 Marcin Kościelnicki writes: > On 11/02/16 14:00, Pedro Alves wrote: >> On 02/11/2016 10:14 AM, Marcin Kościelnicki wrote: >>> This tests whether $ymm15 can be correctly collected and printed from >>> tfile. It covers: >>> >>> - storing tdesc in tfile (without that, $ymm15 doesn't exist) >>> - ax_pseudo_register_collect for x86 (without that, $ymm15 cannot be >>> collected) >>> - register order in tfile_fetch_registers (without that, $ymm15h is >>> fetched from wrong position) >>> - off-by-one in tfile_fetch_registers (without that, $ymm15h is >>> incorrectly considered to be out of bounds) >>> - using proper tdesc in encoding tracepoint actions (without that, >>> internal error happens due to $ymm15h being >> >> OK once prereqs are in. >> >> Thanks, >> Pedro Alves >> > > Thanks, pushed. Hi, I've been trying to run this test on x86 but I get the following error while compiling tfile-avx.c : binutils-gdb/build-x86/gdb/testsuite/../../../gdb/testsuite/gdb.trace/tfile-avx.c:38:19: error: invalid register name for 'a' register __v8si a asm("ymm15") = { ^ I've also noticed the same error on the buildbot results see: http://gdb-build.sergiodj.net/builders/Debian-x86_64-m64/builds/2928/steps/test%20gdb/logs/stdio My cpu (Intel(R) Core(TM) i7-4600M ) supports avx, cat /proc/cpuinfo shows avx and a gdb print $ymm15 returns something... This is with gcc 4.8.4... Am I missing something? Regards, Antoine