From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 3ukqFxdZ+GOIVTwAWB0awg (envelope-from ) for ; Fri, 24 Feb 2023 01:28:39 -0500 Received: by simark.ca (Postfix, from userid 112) id 452EF1E222; Fri, 24 Feb 2023 01:28:39 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=avxI5MFu; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id B99061E128 for ; Fri, 24 Feb 2023 01:28:38 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EDF4038582B0 for ; Fri, 24 Feb 2023 06:28:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EDF4038582B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677220118; bh=LR2VzdDbRvRPQrUok71ghEnCV+67krLrBgxp+zHzd8Y=; h=To:CC:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=avxI5MFu4p6dAVHdLgcUugjRXQt3PC3MMc8y6SUWMzqh8ga+zEwxylTScIbozS+fA 8HnjepD91W0HVaPYlXmS0c1XmhVSBW8s+ZlQ2XvDMTwtck3jCkpsNEWX26WvcY0a2h X0256PfjpRR10JE0yTSBWlrmW33nd/IxUbt5HOjs= Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2102.outbound.protection.outlook.com [40.107.255.102]) by sourceware.org (Postfix) with ESMTPS id 04A12385840F for ; Fri, 24 Feb 2023 06:28:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 04A12385840F ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MhNtnA3gEnldRhq4TW9Sz8kc53bLf+6UYfbDVNzn9mCykqNSl2/LWUt8HaDRPpfjP/H5yM3FuY+GLNmnHgyop21F92p11h+u8J7xg3CHQ6yWx9D11M86GhkFR4TzGnJGihPLHErvOc//4GLMLlWMbIVor9ydV2Gq5sD86AuI9Iu8JxshdvNYUxYX6yFZxf9C3llTGEoqxU3je0lz1ESeT7TExizbN6HXTIc/i529yhOj7B6TvNM1PEP4chdXl12OuzXR2FmC4SmiZKbVPG8f4xgH38P6oQxy5WE4UeogVqVyRaBDdL0sy4KukbOO0cYOamPtZ/mX3g4WXMTpgw+H8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LR2VzdDbRvRPQrUok71ghEnCV+67krLrBgxp+zHzd8Y=; b=SZIQZv4rZk/68r1/+kQHAdeaPcTpT3ekilTlV+zKbMsKLEXVpHaEMs5INXzLSJkd+QPWaTS+lV3ceTFbI0B/NEggdm4BZH9T/euksI/q+KoTptgk8i2a3ERwoQ4Ljgk+JBGfUJrk18LeGuH7dyxK4ThyFltGIsBZdORjj3H5TT2UWg6jeW/lIek5LMMGC/DC5hMHCOnNoUO1n7hD0jmbG1NkC1SCOwGRUWdpKLJYBlU65PETCr2pcTEAvAaX7+/KS0QLhl4xAKewjlzswG0GkNNtMiu6SVHqE54PElgUNL+4nHaqxMmfYxcS/IErkCBvlvJyb2vpBD9MNQDgB7fUFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=espressif.com; dmarc=pass action=none header.from=espressif.com; dkim=pass header.d=espressif.com; arc=none Received: from TYZPR04MB5736.apcprd04.prod.outlook.com (2603:1096:400:1fa::7) by TYZPR04MB5879.apcprd04.prod.outlook.com (2603:1096:400:1f1::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.24; Fri, 24 Feb 2023 06:28:09 +0000 Received: from TYZPR04MB5736.apcprd04.prod.outlook.com ([fe80::1d98:cbcb:a94d:a40]) by TYZPR04MB5736.apcprd04.prod.outlook.com ([fe80::1d98:cbcb:a94d:a40%5]) with mapi id 15.20.6134.020; Fri, 24 Feb 2023 06:28:09 +0000 To: "gdb-patches@sourceware.org" CC: Alexey Gerenkov , "tom@tromey.com" , Anton Maklakov , Ivan Grokhotkov , "jcmvbkbc@gmail.com" Subject: [PATCH v2] gdb: xtensa: don't supply registers if they are not present Thread-Topic: [PATCH v2] gdb: xtensa: don't supply registers if they are not present Thread-Index: AQHZSBkpfwgXz+ruNE6VsGsVQ/Nj/g== Date: Fri, 24 Feb 2023 06:28:08 +0000 Message-ID: <026589bb5fd46e8811b0909d048307261a8165b7.camel@espressif.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYZPR04MB5736:EE_|TYZPR04MB5879:EE_ x-ms-office365-filtering-correlation-id: ad3101d9-b0db-4119-7a71-08db16304bdb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zIe/3MYbadNYEX0ai2eGWUiE5FibV301PeRhv9GrirOIqqRZi35wh5zoakFXuca7FR/30WEeXNH5d8P61DWnRbnG4WkCZqXDdtx6JVD0q6jbOOjI66kGMDrx3fh0DoA4VHV8m030aLazHash6J/wTn3gEsM0z1jTusbqKyh87u2ubexXrbJjjSUofvF9YczHYdl85WghfmPnPucBpz1FAlbD25PZYFnpfyBSBcEojJMnlWmYczRGsWdVErKKS7a3nXSLouhooxZiYYO1nf+nYpVgoHyfcT0fhpdB4FrTIVGGgk60C3IiL7KYez/dCCXBsP9KNv12fHdRYwNK23x9jmM9+vh9xwOn0ux9WDifpSjH3vSJ1zSDF0stzDaDBd7nLuuD8kLgdpkv3P0bwn/4zxXF0cdnPKoVB8kSi7RKpGrHatORoWd2V4/EvEbwDuOc9j7+YVahDKfXAbcdUzdl1W83YsNLR4IvzTdz/IC7qxQisVvrjUydXTd6zknJ1ZYQ1hVez2kd5riZDUhhluBzWLNmX4L7WKTUM2mMFkm2/QxsRV4Pr6bc3Bv+28cxZlF3xlofOg/NyiMEpcs0QVrhNqOdgvzFmylaIYkIdchpxJW0YjjcsCdYQq017jLc70D3zDx0ZhISMOOCc/deitfSFndo3lzGdVzCzMt5D2Pcg5twzdCu1EbEvIp1LXbEredoKg0bYd27gYmFfQJIyPTnEg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYZPR04MB5736.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(376002)(366004)(136003)(39840400004)(396003)(346002)(451199018)(36756003)(66946007)(66476007)(66556008)(6486002)(83380400001)(2616005)(26005)(186003)(6512007)(6506007)(8936002)(41300700001)(71200400001)(38070700005)(44832011)(5660300002)(2906002)(316002)(54906003)(86362001)(38100700002)(478600001)(66446008)(4326008)(64756008)(76116006)(6916009)(8676002)(91956017)(122000001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?YjdqbmdWcmx1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FVWelRNdHpNNnJlWnJmYXl1?= =?utf-8?B?U2lUb3R5SnpKUkZ6OFFWVndnOGg4MHFVMVYydkZlNHpFNytWTlFPdWVDbHFM?= =?utf-8?B?TXJyOGlMbW5oa00yVmdDa2hkOUw1RzRWQXRZaGVCTXI2RGlXWGplWkZSL2Ru?= =?utf-8?B?SlVtUEkzRmcvZFY1VnhvRUdwTmxKM3FqUzFVakZqNi92N0NNQ3Z1RGNtS1Rt?= =?utf-8?B?aDNuWEtKZnQ3V2FlSVpDeTBoNkZER0VkZU0xQk1oa0ZKdE9MbmxDREd2U2Fm?= =?utf-8?B?cTNCN1M3WnJpY2FhVW5ndDZDRExQY0JTNVpzMGNYMm1KTVp0YytHSHdtSWl0?= =?utf-8?B?b203cTRHeDAvTmQyQ1dEMktKa0IwR1pOa3g5QjBLVm1wa0l6bVVodmFWbHNM?= =?utf-8?Q?NnwfJ5xP1zmRRmwcCmAub+k=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: espressif.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYZPR04MB5736.apcprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ad3101d9-b0db-4119-7a71-08db16304bdb X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2023 06:28:08.9504 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5faf27fd-3557-4294-9545-8ea74a409f39 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: X6alpO+qN4yQFCln57mDqvqOgO+e40JijyAbvuLxkDbYcLlFF0xqYHNmQWydfWhsQ1a1gFY2eiS4FI6n5sGs18wI5WtWnQD6rpx6Kh8azZ0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB5879 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Alexey Lapshin via Gdb-patches Reply-To: Alexey Lapshin Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" V2hlbiBwYXJzaW5nIGEgY29yZSBmaWxlIG9uIGhhcmR3YXJlIGNvbmZpZ3VyYXRpb25zIHdpdGhv dXQgdGhlDQp6ZXJvLW92ZXJoZWFkIGxvb3Agb3B0aW9uIChlLmcuIEVTUDMyLVMyIGNoaXApLCBH REIgdXNlZCB0byBhc3NlcnQNCndoaWxlIHRyeWluZyB0byBjYWxsICdyYXdfc3VwcGx5JyBmb3Ig bGJlZywgbGVuZCwgbGNvdW50IHJlZ2lzdGVycywNCmV2ZW4gdGhvdWdoIHRoZXkgd2VyZSBub3Qg c2V0Lg0KDQpUaGlzIHdhcyBiZWNhdXNlOg0KcmVnbnVtID09IC0xIHdhcyB1c2VkIHRvIGluZGlj YXRlICJzdXBwbHkgYWxsIHJlZ2lzdGVycyINCmxiZWdfcmVnbnVtID09IC0xIHdhcyB1c2VkIHRv IGluZGljYXRlICJsYmVnIHJlZ2lzdGVyIG5vdCBwcmVzZW50Ig0KcmVnbnVtID09IGxiZWdfcmVn bnVtIGNoZWNrIHdhcyBjb25zaWRlcmVkIHN1Y2Nlc3NmdWwNCg0KLS0tDQogZ2RiL3h0ZW5zYS10 ZGVwLmMgfCAxNyArKysrKysrKysrKy0tLS0tLQ0KIDEgZmlsZSBjaGFuZ2VkLCAxMSBpbnNlcnRp b25zKCspLCA2IGRlbGV0aW9ucygtKQ0KDQpkaWZmIC0tZ2l0IGEvZ2RiL3h0ZW5zYS10ZGVwLmMg Yi9nZGIveHRlbnNhLXRkZXAuYw0KaW5kZXggMDkyYWUwODg5MzIuLjY2ZTViYWFlN2E1IDEwMDY0 NA0KLS0tIGEvZ2RiL3h0ZW5zYS10ZGVwLmMNCisrKyBiL2dkYi94dGVuc2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