From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ZXQfHxAEY2RvcwsAWB0awg (envelope-from ) for ; Tue, 16 May 2023 00:18:24 -0400 Received: by simark.ca (Postfix, from userid 112) id 6B3621E11E; Tue, 16 May 2023 00:18:24 -0400 (EDT) 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=Gfk1w2CW; 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 DFDD01E111 for ; Tue, 16 May 2023 00:18:23 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 71ABC3857437 for ; Tue, 16 May 2023 04:18:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 71ABC3857437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1684210702; bh=K/3Sfm0TIOMh+OKQaAUFDM3lWr2h8Ylhwc9FAp/98r4=; h=To:CC:Subject:Date:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Gfk1w2CWr1qNJi4ejleW0QDxAhBT/KMdrDyNnoheEjmRjpdxffobBbOTx31JdfrSV NG3cQntKxIcB5WvEDVbHHTw5a4j1XXw8dhGtY25TNJ4R1z4UaURZIJxhLgxmwNBuTp GLOlZTJHfpeyZtOoehHwkjExYfBBYPIvwVyBbnWw= Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2090.outbound.protection.outlook.com [40.107.215.90]) by sourceware.org (Postfix) with ESMTPS id 9E57F3858C20 for ; Tue, 16 May 2023 04:18:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9E57F3858C20 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TtB0nTwaI/OM3EnVa3iDRqmHPup36B5kSGTvzWbHPor+6vmriNO/5IYfjpNR2o+/LVWiDX+F17Hg3yqarCQuAFQK5M0SnFkNygT21gGdc1UzMrLLpr8V194dKH0iVdf6u+hddMh0pZrl9lcm5mSRC6SgPKHN3WkR53wdcOGET4iCRf2K3vsbF/j33OCUTpy2famP3GlJ8xSByV6wRTgEazbSdTbMGbSzUPbIXO4NyNteM1N6y8bzxcwxB9rdxjNh/Z4kbSXXcrvOgzHCVQYN80Fl2QIIhiMzz1VNhYY3ULXBQulgCa7KeDHYLxtjJYSYkHNgMYQFesbG1NwGtqaW0A== 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=K/3Sfm0TIOMh+OKQaAUFDM3lWr2h8Ylhwc9FAp/98r4=; b=MIxYPrkQ0VoAEy0uuBjsjOv8Zl2oM4EqBkXi94MLSsUOaOSiK0WQMF1iaUEoVzZiqn9PzhJwAMous+E5pkNKInPDXCPWoD4PLmGIy6Uq+dZ0Xi0K2NqV8v5CRCmWKNDX7NmJN60l99qmIldkuL1e9iHomdVHgSKZ+sBwwxHs5nVsE+KOtjrLEi2XVoG4EVNdXdDUtAv8JgAwWo6lM7M3W+E5eEJY5JRXOpnoonuv0/y+jlGdQ7LlMeloIkEc78CunvDIgglcG8KidP6bfxGprdLlSQ/uKpsazNSjC6U9SP0snINvivbo5HTH9WMzjEMv/TFj2C69jWG/BnO/F5wHVA== 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 SG2PR04MB5748.apcprd04.prod.outlook.com (2603:1096:4:1d6::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Tue, 16 May 2023 04:17:58 +0000 Received: from TYZPR04MB5736.apcprd04.prod.outlook.com ([fe80::8e83:7f84:2f6b:5a5]) by TYZPR04MB5736.apcprd04.prod.outlook.com ([fe80::8e83:7f84:2f6b:5a5%7]) with mapi id 15.20.6387.026; Tue, 16 May 2023 04:17:58 +0000 To: "gdb-patches@sourceware.org" , "tom@tromey.com" CC: Alexey Gerenkov , Anton Maklakov , Ivan Grokhotkov , "jcmvbkbc@gmail.com" Subject: [PATCH v3] gdb: xtensa: fix registers supply if they not present Thread-Topic: [PATCH v3] gdb: xtensa: fix registers supply if they not present Thread-Index: AQHZh61lrZ0cIb2wwkiQOQpHZhQSmw== Date: Tue, 16 May 2023 04:17:58 +0000 Message-ID: <9f7a82d385ccbc4c249ff7ecebff24fa42ebb149.camel@espressif.com> References: <026589bb5fd46e8811b0909d048307261a8165b7.camel@espressif.com> <87356uhm8v.fsf@tromey.com> In-Reply-To: <87356uhm8v.fsf@tromey.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_|SG2PR04MB5748:EE_ x-ms-office365-filtering-correlation-id: 97113d97-881a-48ec-b1ae-08db55c487a7 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NFvxuE2Gceo0ipRAR2P14HH+M4qh095JeW6dkrdktll7eiUY4pKGngrRnCKT1avyISIPcxE/909Ss2h0bIJOeXnykvWM4IqH9UEzEy+s76YiEmsTcpihUPlVArcUluGwSG7eLQg62pU7NSQBwQs/5PROkpx6JWMjFAa56CCs29iKRPo0jhlXcSdMODjiodJYGZ4LBm+Vkir/1HK71/RVcv/9HceJCo+7Tg/+CHv8KlEzgPJIxJa7p5mhTKcEe9HzhVob5CK6/ectnJT2l1ae22jxdZtXdVHpcddBjjL66xmHoQoPvtMCv35EjheX0n3Hh/oMIV5a7qKSUHyDKL1sk1vBfmq2bduTIcvu8z0Hax07l40usTAu2R3HiF2Wzu4vMxwHe7gXnH/lzln8kw5mjhmloGdwOfvMn0RR0nJ/g0WaQJY9yO7OFEzkwnXwwy4srJTS6xsHmvgDWI6dgWl4uXZhJrtlGYKsnjF+MYDrM97big+zXPlffXOeLQlCyUnJlmGbfwk7eWx1VkIHbmZPjRxgoAX2Gqe/BHTsSQmQSYrxDm4huZoxKOENgDg4x4g+Oo1limPsBYXp5PPrQ+EZ9ymctKBp+3iCFMGV5nzjinGSrVbFA6UzCSew5YI+mg1I 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:(13230028)(366004)(39850400004)(136003)(376002)(396003)(346002)(451199021)(66556008)(66446008)(66476007)(4326008)(64756008)(478600001)(76116006)(66946007)(110136005)(91956017)(54906003)(6506007)(6512007)(186003)(38070700005)(38100700002)(55236004)(83380400001)(2616005)(36756003)(8936002)(8676002)(2906002)(44832011)(41300700001)(71200400001)(316002)(6486002)(122000001)(86362001)(5660300002)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount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f-8?B?TWtCNm80OCs1N1JGa0g4ek9RcGFyczV3QTNIREptRTlrNGd2OGRnV0k1NEwr?= =?utf-8?B?aUZScjZQMFJhaFVCbEJCV1VGV3diQlphRFNudU1LSmt3VERvTGZzVEtSalln?= =?utf-8?B?eFM5SzFUeFFFL1ZjeS9zYTNKbXFCbUFCTHhPekd1My9NSmdUcFl6bFQzT3Na?= =?utf-8?B?WlREUEZHYTRCN3VGTHY2MGJwN3N1YmVFK0VMZnNHcVJqVkpEQm5UbE9ZVlRh?= =?utf-8?B?bWVDRTZ3UVZ1ZTA4U3FqVkpWQzU1YlBtS3NOZ0w0SEVzTGQ3d1ZTUlQvSHQr?= =?utf-8?B?TTdUZ3k1M3dZLzNqOWRhQ2Z0cUdwbFFyeStBcmpPT1RxdTYwU0dXZVJ1Ujd3?= =?utf-8?B?Zi9pMkdJTXZMRUlhM2lMK2ovaDVzSGZWWDRWN0xuL1NGVE1PWEtKRGVUdk85?= =?utf-8?Q?lYptE6CVosT0UvLgxU4HFHQ=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: 97113d97-881a-48ec-b1ae-08db55c487a7 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2023 04:17:58.0759 (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: HSbqvVMMNGKRj/M+6Uzq+MIjzaZPfQQpmyak9TxPeXuh/IbwLldJJTmDQF84KBrEt3C79bs9msOQsIF+kbDtvSI3MoHKe8wtPn27cMuyP2I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB5748 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 bnVtIGNoZWNrIHdhcyBjb25zaWRlcmVkIHN1Y2Nlc3NmdWwNCi0tLQ0KIGdkYi94dGVuc2EtdGRl cC5jIHwgMjQgKysrKysrKysrKysrKysrKysrLS0tLS0tDQogMSBmaWxlIGNoYW5nZWQsIDE4IGlu c2VydGlvbnMoKyksIDYgZGVsZXRpb25zKC0pDQoNCmRpZmYgLS1naXQgYS9nZGIveHRlbnNhLXRk ZXAuYyBiL2dkYi94dGVuc2EtdGRlcC5jDQppbmRleCBhNDdhMjk4NzQ5OS4uYWYwZjVjODZiYWIg MTAwNjQ0DQotLS0gYS9nZGIveHR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