From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110613 invoked by alias); 27 Jun 2017 12:14:36 -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 110584 invoked by uid 89); 27 Jun 2017 12:14:35 -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: EUR02-VE1-obe.outbound.protection.outlook.com Received: from mail-eopbgr20082.outbound.protection.outlook.com (HELO EUR02-VE1-obe.outbound.protection.outlook.com) (40.107.2.82) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Jun 2017 12:14:33 +0000 Received: from AM3PR08MB0101.eurprd08.prod.outlook.com (10.160.211.19) by AM3PR08MB0104.eurprd08.prod.outlook.com (10.160.211.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Tue, 27 Jun 2017 12:14:29 +0000 Received: from AM3PR08MB0101.eurprd08.prod.outlook.com ([fe80::c9c3:7efd:351b:dc0d]) by AM3PR08MB0101.eurprd08.prod.outlook.com ([fe80::c9c3:7efd:351b:dc0d%15]) with mapi id 15.01.1199.019; Tue, 27 Jun 2017 12:14:29 +0000 From: Alan Hayward To: Yao Qi CC: "gdb-patches@sourceware.org" , "vapier@gentoo.org" , nd Subject: Re: [PATCH] Remove MAX_REGISTER_SIZE from remote-sim.c Date: Tue, 27 Jun 2017 12:14:00 -0000 Message-ID: References: <86wpbft0r4.fsf@gmail.com> <692B46FA-E9FE-48BF-BE1C-9DDD606474B7@arm.com> <86fuelg0k1.fsf@gmail.com> In-Reply-To: <86fuelg0k1.fsf@gmail.com> authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM3PR08MB0104;7:VJwn/oe7LyuX6kMxyCuw74WhPgz9umMBHGWkvRG7M3abOIAp2zZiKRyQfyTHNkWbzkEBvEVwHFw1G2ZkBd6WU9AwP+vUyoOAWttTZ6YoUUpc1gpBwEgJnF0XNLvmeyvGG12iviB2ak2WLgImWYrhiR6izGdjeUCHDgdA/ZAUO7b2/1+7AcuTDlk4h5EJyp/wm4V5FCDho/r3IevsxE6lmVdgwrZGF4opFuWR0WwJ3Uu6kpy7ijwaqetOKR2fl/2ERGF48EHZclYRvUQ7M9/DWKOIMbD3B+bSgAVgJPY6yabA0WmS7XijxiClRel9aXC+FuL8jgBLwAROfNrSP00KPnDoWap1hsB8MjLKCdsM+Wh9G5CiV/DqQDlATkmJSv7CAsB8eGnf7GMwLWOxU81Q8tz/7JKUm+Zj49Z7QwLvbY41fGFOYcGdMJ9Bp0Csx50rL7BC1CfOk5q8r0FADzD3rSw4bywq4O4UtaB36IXu6b1iD4ENDcV/GrHgjPc8X308T6XO/xRRPjcKOmBL6hJb5xltbVU8m+m+6KKg4BupjCQqItrlzc8TQ+NxXucpWsqIS9zyyp4fV1MBLcs+G10f5mwHGXzd6569HDUmdfRPFWhcMY6UiRvEajgd3RQ/EUwP7rG1FAdebMJDUbv4TSNrtapele/lI4yJ6UHBueRg6mhibTR1u7c5soketpRDH0MHB/GrvKhJKYkrXm8GEE/xeIj08Rzx2isVN62on8s7eZUfAdivLMAgRPTxUCokOBWfB9ht41G7dq8zWzzDwp1Of3V3fsDjzRO/fIAkZuL7xfc= x-ms-office365-filtering-correlation-id: 4196560f-901d-44b7-37e3-08d4bd560fc5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095);SRVR:AM3PR08MB0104; x-ms-traffictypediagnostic: AM3PR08MB0104: nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(236129657087228); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:AM3PR08MB0104;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:AM3PR08MB0104; x-forefront-prvs: 0351D213B3 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39450400003)(39840400002)(39400400002)(39850400002)(39410400002)(39860400002)(24454002)(6116002)(102836003)(6246003)(86362001)(83716003)(6916009)(189998001)(39060400002)(2950100002)(3846002)(66066001)(5660300001)(93886004)(2900100001)(14454004)(53936002)(53546010)(82746002)(8936002)(229853002)(33656002)(36756003)(99286003)(6512007)(54906002)(50986999)(76176999)(54356999)(6436002)(38730400002)(110136004)(72206003)(5250100002)(25786009)(478600001)(6486002)(6506006)(1411001)(2906002)(4326008)(8676002)(3280700002)(305945005)(7736002)(81166006)(3660700001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR08MB0104;H:AM3PR08MB0101.eurprd08.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2017 12:14:29.4096 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR08MB0104 X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00725.txt.bz2 DQo+IE9uIDI3IEp1biAyMDE3LCBhdCAxMTo1NywgWWFvIFFpIDxxaXlhb2x0 Y0BnbWFpbC5jb20+IHdyb3RlOg0KPiANCj4gQWxhbiBIYXl3YXJkIDxBbGFu LkhheXdhcmRAYXJtLmNvbT4gd3JpdGVzOg0KPiANCj4gUGF0Y2ggaXMgZ29v ZCB0byBtZS4NCj4gDQo+PiAJaWYgKG5yX2J5dGVzID4gMA0KPj4gLQkgICAg JiYgbnJfYnl0ZXMgIT0gcmVnaXN0ZXJfc2l6ZSAoZ2RiYXJjaCwgcmVnbm8p ICYmIHdhcm5fdXNlcikNCj4+ICsJICAgICYmIG5yX2J5dGVzICE9IHJlZ3Np emUgJiYgd2Fybl91c2VyKQ0KPj4gCSAgew0KPiANCj4gQSBuaXQsIGNhbiB5 b3UgcHV0IHRoZW0gaW4gYSBzaW5nbGUgbGluZT8NCj4gDQo+IC0tIA0KPiBZ YW8gKOm9kOWwpykNCg0KUHVzaGVkIHdpdGggdGhlIGFib3ZlIElGIG9uIGEg c2luZ2xlIGxpbmUuDQoNCg0KQWxhbi4NCg0KDQo= >From gdb-patches-return-140106-listarch-gdb-patches=sources.redhat.com@sourceware.org Tue Jun 27 12:19:55 2017 Return-Path: Delivered-To: listarch-gdb-patches@sources.redhat.com Received: (qmail 39979 invoked by alias); 27 Jun 2017 12:19:55 -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 39762 invoked by uid 89); 27 Jun 2017 12:19:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=Hx-languages-length:1784, inconsistencies X-HELO: mail.baldwin.cx Received: from bigwig.baldwin.cx (HELO mail.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Jun 2017 12:19:51 +0000 Received: from localhost.localdomain (d-24-245-127-120.cpe.metrocast.net [24.245.127.120]) by mail.baldwin.cx (Postfix) with ESMTPSA id CFB1B10AF01 for ; Tue, 27 Jun 2017 08:19:48 -0400 (EDT) From: John Baldwin To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Support fs_base and gs_base for native FreeBSD/amd64 Date: Tue, 27 Jun 2017 12:19:00 -0000 Message-Id: <20170627121945.91478-1-jhb@FreeBSD.org> X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00726.txt.bz2 Content-length: 2116 I did not add the fs_base and gs_base registers to the x32 descriptions since I'm not aware of a platform supporting x32 other than Linux. On the other hand, I wonder if we shouldn't just add fs_base and gs_base to the "core" descriptions alongside "fs" and "gs" rather than using a separate feature if they are always going to be present. The manual dependencies for the various x86 regformat data files have several inconsistencies (missing dependencies or in some cases wrong dependencies), but I didn't do a fixup of those since Yao's patches are going to replace all that anyway. John Baldwin (2): Include the fs_base and gs_base registers in amd64 target descriptions. Support the fs_base and gs_base registers on FreeBSD/amd64 native processes. gdb/ChangeLog | 32 ++++ gdb/amd64-bsd-nat.c | 54 +++++++ gdb/features/Makefile | 14 +- gdb/features/i386/amd64-avx-avx512.c | 180 +++++++++++---------- gdb/features/i386/amd64-avx-avx512.xml | 1 + gdb/features/i386/amd64-avx-mpx-avx512-pku.c | 194 ++++++++++++----------- gdb/features/i386/amd64-avx-mpx-avx512-pku.xml | 1 + gdb/features/i386/amd64-avx-mpx.c | 48 +++--- gdb/features/i386/amd64-avx-mpx.xml | 1 + gdb/features/i386/amd64-avx.c | 36 +++-- gdb/features/i386/amd64-avx.xml | 1 + gdb/features/i386/amd64-mpx.c | 16 +- gdb/features/i386/amd64-mpx.xml | 1 + gdb/features/i386/amd64.c | 4 + gdb/features/i386/amd64.xml | 1 + gdb/regformats/i386/amd64-avx-avx512.dat | 2 + gdb/regformats/i386/amd64-avx-mpx-avx512-pku.dat | 1 - gdb/regformats/i386/amd64-avx-mpx.dat | 2 + gdb/regformats/i386/amd64-avx.dat | 2 + gdb/regformats/i386/amd64-mpx.dat | 2 + gdb/regformats/i386/amd64.dat | 2 + 21 files changed, 361 insertions(+), 234 deletions(-) -- 2.13.0