From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73779 invoked by alias); 2 Mar 2018 14:05:08 -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 73769 invoked by uid 89); 2 Mar 2018 14:05:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: EUR03-DB5-obe.outbound.protection.outlook.com Received: from mail-eopbgr40061.outbound.protection.outlook.com (HELO EUR03-DB5-obe.outbound.protection.outlook.com) (40.107.4.61) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 02 Mar 2018 14:05:06 +0000 Received: from AM3PR08MB0101.eurprd08.prod.outlook.com (10.160.211.19) by AM3PR08MB0263.eurprd08.prod.outlook.com (10.161.35.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Fri, 2 Mar 2018 14:05:02 +0000 Received: from AM3PR08MB0101.eurprd08.prod.outlook.com ([fe80::fc60:4b4d:7de8:f8b7]) by AM3PR08MB0101.eurprd08.prod.outlook.com ([fe80::fc60:4b4d:7de8:f8b7%16]) with mapi id 15.20.0527.022; Fri, 2 Mar 2018 14:05:02 +0000 From: Alan Hayward To: Yao Qi CC: Joel Brobecker , "gdb-patches@sourceware.org" , nd Subject: Re: [PATCH PR gdb/22736] [aarch64] gdb crashes on a conditional breakpoint with cast return type Date: Fri, 02 Mar 2018 14:05:00 -0000 Message-ID: References: <20180302033204.v2wvjmquwy3dswyk@adacore.com> In-Reply-To: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alan.Hayward@arm.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM3PR08MB0263;7:AJNggbB9jozb+XQOJUvy7XGABWAA8+sNDj7nUBj5GFdYazd3090uGqGezGSZel1Azmi/lREWodgsiMequIDb9dtcajUspWkwhdM31iHi3KdXxZMKSS8sNS8hVpIdZK8rIYs1T1aONGNTLhd8uh18giW8eJkExLuvL+pzkvERRuRoH2jGyUnIXSNn7gnrNA6uhv2Ga1cC07M1wV0gR8sMperGBS69y8Dp5aPfz+z4wRNo8vRSO64XfLNdqgjbeL+Q x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7c279d10-786c-431a-36a5-08d580469798 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020);SRVR:AM3PR08MB0263; x-ms-traffictypediagnostic: AM3PR08MB0263: nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(85827821059158); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040501)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231220)(944501240)(52105095)(3002001)(10201501046)(6055026)(6041288)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011);SRVR:AM3PR08MB0263;BCL:0;PCL:0;RULEID:;SRVR:AM3PR08MB0263; x-forefront-prvs: 05991796DF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39380400002)(366004)(346002)(376002)(39860400002)(199004)(189003)(316002)(81156014)(6436002)(6486002)(86362001)(25786009)(5250100002)(6916009)(2900100001)(66066001)(305945005)(229853002)(5660300001)(3280700002)(7736002)(6246003)(3846002)(6116002)(53936002)(2950100002)(33656002)(4326008)(39060400002)(83716003)(53546011)(26005)(102836004)(186003)(1411001)(6506007)(93886005)(106356001)(8936002)(72206003)(68736007)(6512007)(478600001)(2906002)(82746002)(99286004)(14454004)(76176011)(36756003)(81166006)(105586002)(8676002)(54906003)(3660700001)(97736004);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR08MB0263;H:AM3PR08MB0101.eurprd08.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: f98lzxBmjp63uJM7gZNOcUr0lf4TR8TUzE3iT6FEZswsJxqofm7Hj0FrOJ/PE2m3wCY5D1LeoDAWQAmV87OeqqbWcriihwvzowvpjfe3jF5VYW1Q/CzoeFGnvrKWbSUUYUSA+6r9CIU1xz5Uq3crn9rG3p592oENYYu9vfoWSeY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <4A6024BDB8784746B9EB2CE72BEF4F60@eurprd08.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7c279d10-786c-431a-36a5-08d580469798 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2018 14:05:02.0944 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR08MB0263 X-IsSubscribed: yes X-SW-Source: 2018-03/txt/msg00059.txt.bz2 DQoNCj4gT24gMiBNYXIgMjAxOCwgYXQgMTI6MjEsIFlhbyBRaSA8cWl5YW9s dGNAZ21haWwuY29tPiB3cm90ZToNCj4gDQo+IE9uIEZyaSwgTWFyIDIsIDIw MTggYXQgMTI6MDkgUE0sIEFsYW4gSGF5d2FyZCA8QWxhbi5IYXl3YXJkQGFy bS5jb20+IHdyb3RlOg0KPj4+IEFueSBpZGVhIG9uIHdoeSBUWVBFX1RBUkdF VF9UWVBFIChmdW5jX3R5cGUpIGlzIE5VTEw/IChiZWNhdXNlDQo+Pj4gdGhl cmUgaXMgbm8gc3RyY21wIGRlYnVnIGluZm8/KQ0KPj4+IA0KPj4gDQo+PiBU aGUgY2FzdCB0byAoaW50KSBpcyBjYXVzaW5nIHRoaXMgLSByZW1vdmUgdGhl IGNhc3QgYW5kIGl0IGZpbmRzIHRoZSB0eXBlLg0KPj4gSeKAmW0gYXNzdW1p bmcgdGhhdOKAmXMgY2F1c2luZyBpdCB0byBkcm9wIHRoZSBkZWJ1ZyBpbmZv Lg0KPiANCj4gSXQgc291bmRzIGxpa2UgYSBidWcgdG8gbWUuICBJZiB0aGlz IGJ1ZyAiVFlQRV9UQVJHRVRfVFlQRSAoZnVuY190eXBlKSBiZWNvbWVzDQo+ IE5VTEwgY2F1c2VkIGJ5IGNhc3QiIGlzIGZpeGVkLCB0aGUgR0RCIHNlZ2Zh dWx0IHdpbGwgZ28gYXdheSBhY2NvcmRpbmdseS4NCj4gDQo+IFRvIGJlIGNs ZWFyLCB5b3VyIHBhdGNoIGhlcmUgaXMgZmluZSB0byBtZS4gIE15IHN1Z2dl c3Rpb24gaXMgdGhhdCB3ZSdkIGJldHRlcg0KPiBkaWcgaXQgZGVlcGVyLg0K PiANCg0KQWdyZWVkLiBJ4oCZbGwgcmFpc2UgYSBuZXcgYnVnLCBhbmQgaGF2 ZSBhIGxvb2sgaW50byBpdCB0b28gd2hpbHN0IEnigJltIGluIHRoZSBhcmVh Lg0KDQoNCkFsYW4u >From gdb-patches-return-145731-listarch-gdb-patches=sources.redhat.com@sourceware.org Fri Mar 02 14:50:20 2018 Return-Path: Delivered-To: listarch-gdb-patches@sources.redhat.com Received: (qmail 14103 invoked by alias); 2 Mar 2018 14:50:19 -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 Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 14092 invoked by uid 89); 2 Mar 2018 14:50:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=manufacturing X-HELO: 9pmail.ess.barracuda.com Received: from 9pmail.ess.barracuda.com (HELO 9pmail.ess.barracuda.com) (64.235.150.225) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 02 Mar 2018 14:50:18 +0000 Received: from MIPSMAIL01.mipstec.com (mailrelay.mips.com [12.201.5.28]) by mx3.ess.sfj.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Fri, 02 Mar 2018 14:50:07 +0000 Received: from [10.20.78.177] (10.20.78.177) by mips01.mipstec.com (10.20.43.31) with Microsoft SMTP Server id 14.3.361.1; Fri, 2 Mar 2018 06:15:31 -0800 Date: Fri, 02 Mar 2018 14:50:00 -0000 From: "Maciej W. Rozycki" To: "Metzger, Markus T" CC: Eli Zaretskii , "gdb-patches@sourceware.org" Subject: RE: [PATCH 2/2] btrace: set/show record btrace cpu In-Reply-To: Message-ID: References: <1519379570-16643-1-git-send-email-markus.t.metzger@intel.com> <1519379570-16643-2-git-send-email-markus.t.metzger@intel.com> <83woz34xuj.fsf@gnu.org> <83lgff1s4n.fsf@gnu.org> <83y3jez3yw.fsf@gnu.org> <83po4pyvji.fsf@gnu.org> <83muzryhql.fsf@gnu.org> <837eqvy5on.fsf@gnu.org> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-BESS-ID: 1520002206-298554-13191-161079-6 X-BESS-VER: 2018.2-r1802232356 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.190599 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status:1 X-SW-Source: 2018-03/txt/msg00060.txt.bz2 Content-length: 1226 On Thu, 1 Mar 2018, Metzger, Markus T wrote: > The term "erratum" already means 'bug somewhere in the processor'. The term "erratum" is generic and usually means a mistake in a published text. You need to be more specific and clarify what the term means in this context. I think that Eli's proposal sounds about right, except that I agree that "firmware" does not really fit here; an erratum may be present in hardware logic or in microcode, or it may even be a phenomenon of the manufacturing process, e.g. cases have been known where a malfunction of a specific CPU operation was caused by thermal effects in silicon in otherwise seemingly correct logic. This makes a "processor erratum" a broad term and therefore I think this specific case does not belong to the concept index. So how about: Processor errata are known to exist that can cause a trace not to match the specification. Trace decoders that are unaware of these errata might fail to decode such a trace. @value{GDBN} can detect erroneous trace packets and correct them, thus avoiding the decoding failures. These corrections or workarounds are enabled based on the processor on which the trace was recorded. ? Maciej