From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36544 invoked by alias); 25 Jan 2016 13:56:50 -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 35606 invoked by uid 89); 25 Jan 2016 13:56:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:878, tfile, HContent-Transfer-Encoding:8bit X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 25 Jan 2016 13:56:49 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 259E08CF55; Mon, 25 Jan 2016 13:56:47 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0PDukPL007305; Mon, 25 Jan 2016 08:56:47 -0500 Message-ID: <56A6299E.4060706@redhat.com> Date: Mon, 25 Jan 2016 13:56:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: =?UTF-8?B?TWFyY2luIEtvxZtjaWVsbmlja2k=?= , gdb-patches@sourceware.org Subject: Re: [PATCH 0/8] gdb/s390: Add regular and fast tracepoint support. References: <1453637529-26972-1-git-send-email-koriakin@0x04.net> In-Reply-To: <1453637529-26972-1-git-send-email-koriakin@0x04.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2016-01/txt/msg00622.txt.bz2 On 01/24/2016 12:12 PM, Marcin Kościelnicki wrote: > 1. Target independent: tfile format doesn't contain target information > (tdesc). While this affects all platforms with multiple tdescs > (eg. x86_64 is unable to pull AVX registers from tfile for that > reason), it horribly breaks 31-bit s390 with high GPRs - it has > a completely different GPR layout from plain 31-bit s390, so the > collected registers will be garbled. I suppose the proper fix to > that would be to add tdesc information to tfile format. Yes, I think so too. > Unfortunately, I don't see a way to extend it in a backwards-compatible way. The trace file header is just a list of newline-terminated lines. We're free to add more header lines - older gdb's just warn about unknown lines. See tfile_interp_line. Thanks, Pedro Alves