From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2055.outbound.protection.outlook.com [40.107.94.55]) by sourceware.org (Postfix) with ESMTPS id 0017B3858288 for ; Wed, 10 Jan 2024 16:59:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0017B3858288 Authentication-Results: sourceware.org; dmarc=fail (p=quarantine dis=none) header.from=amd.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=amd.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0017B3858288 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.94.55 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1704906022; cv=pass; b=n8lX/Uyn6Hf8nmyW7xzehLPTkFe4jpubQwC+RKyFStaMEyfPdi7mMMKVD7xeD7oJHay3LFhVQ8PgNE1m48ZEyrkNhI2AAco+no9dvFuLTUlSBpEyzUHdtY7xZxehSKOX2ogRPldwYBC/KYLd3iwFKUFul4p2ZV9sXifGM1DhWv8= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1704906022; c=relaxed/simple; bh=AQwyRWN3TYUfJpve3VRXxryKFKMuUsFc7DTqHxj+Ouc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=mupWlpwctLSuOGVAgspQCO2VrUxXpYq5ZeUocaVj0F6PV4r+YpoX2rLfKsIg67x+VKQZyF2sTyD2pAA9lFbyIRTgFDh8VqcMEKQ5Gz+EQAY1CkxQeMSlBByO8KVAVOT2O2NWJBL+psaGTWWK9UoJEIwwf58r5aPvyovMoMXGS6Q= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KdtMHk+z+FNzx0GZM6UURrduQLNELc1JpGeoZFnDOSxbyK9xGKXgUxClupRZtXkJrGonX1vFqi07iLDTZJYJu5W6tg61r9rjIacfUzaGVUkgiBkMhYbd2F2Ap92cCMlUXo2/D4h+XkOTZuOpenjqjabH2ctvfriTfDEAFYJsgKa58x3Nfp/cSoz7DtQMjovGvYSsXP2bK46epZvliWe9s4QRcP1Zh56LMulqnvJZnMoqIpDSaSGm25eeASFoEQcR33gfRVMP4Qybo59Pgda1rLaWhU9NKhy5aisYjLFBDZ8Mr73TcKmvo+b0tEeFeflcKYW6y9CrbV7yGttNWrNKLg== 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=G/a1o/0ivMQWLlYjYbBqIApySPCacMMkAHS42j6UyUA=; b=AbplZH6/Pz8whj3pIYearZ2BaXywXqh24ulAccc75nsTyYFkBPINKieWn4BvYpbVTZXbJz6vFYoJeGZn3yqdfeBsGKoPzJ/dE2P/vZ7hxJSvBonkgS2PAsQvIXf6YnVcpMZcJmEQyGBv4+G56z3YvR2pA/B964xaofymWwqushgHMATHvK7jrui9sUyLxm4O9rt5VIsbNe7vkSGlxnrzluCKoBmV6G3sT+d0BmDJyOVUCTF4mQgbY+ybKWPa78p/JwaF2Wlyjkd15dKRLpVrR0Ow6lLqJNFZGjRYZG8tNdiQcWLF0YgeiqSiYqQktzyz0+TjHN884Ezny/tBo/jd8Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=G/a1o/0ivMQWLlYjYbBqIApySPCacMMkAHS42j6UyUA=; b=JZ5W9H52OvD4a8wd3TzMyyHJGXlxrU3oltXw98lLkyR5Kh9/MTGk6N4cVzdj4CRrwiqD/NDpSnvRdegrw1bOHV9558r6c83uwwxP3U/+C0EA6/6W33ITOdmOH+VGSSJLTfEbXiRdC0pG9lLYD5n8U9UzZlYmDeUMQ3VMT6hNNCw= Received: from BY5PR12MB4965.namprd12.prod.outlook.com (2603:10b6:a03:1c4::16) by BN9PR12MB5081.namprd12.prod.outlook.com (2603:10b6:408:132::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.17; Wed, 10 Jan 2024 16:59:24 +0000 Received: from BY5PR12MB4965.namprd12.prod.outlook.com ([fe80::ed4b:f41c:9f51:1e5a]) by BY5PR12MB4965.namprd12.prod.outlook.com ([fe80::ed4b:f41c:9f51:1e5a%4]) with mapi id 15.20.7181.018; Wed, 10 Jan 2024 16:59:24 +0000 From: "George, Jini Susan" To: "Ijaz, Abdul B" , "gdb-patches@sourceware.org" CC: "tom@tromey.com" , "eliz@gnu.org" , "blarsen@redhat.com" Subject: Re: [PING 3][PATCH v5 0/4] GDB support for DW_AT_trampoline Thread-Topic: [PING 3][PATCH v5 0/4] GDB support for DW_AT_trampoline Thread-Index: AQHaOYFyYEtl1UJpQ0KuP72gOVqsvLDSqXFxgAAwpwCAAHwuxQ== Date: Wed, 10 Jan 2024 16:59:24 +0000 Message-ID: References: <20230816215349.6198-1-abdul.b.ijaz@intel.com> In-Reply-To: Accept-Language: en-US, en-IN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_Enabled=True;MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d;MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_SetDate=2024-01-10T16:59:23.119Z;MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_Name=Public;MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_ContentBits=0;MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_Method=Standard; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY5PR12MB4965:EE_|BN9PR12MB5081:EE_ x-ms-office365-filtering-correlation-id: 4f539667-ca8d-4998-cd1f-08dc11fd7f64 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KbU0p7fqIhKUfjwE1LJOcUuBVFxYdgVnlDggQHs5k2ty7ycL7dImU3KrFjB6GORFTzK4NQyijxxYOfgRT1itjO0qkmCQFSShQKIRDPHRP2+nyhqzyjSUGj01iD0EJ96hn59ZGy5Lyd20XhVtTJcivvuFcSRBONbovM+BjjUjO2raX/IOyagmrYjY9odFJJeKu5IOdV7t9GW33VxC/NXQuv0IFshk97fnoIXjV0Y9lWjf80fr+5L9qj7rL9+AudewfIB4xWPNzfOo4GYRFV7DJbRje37T8M29VwhAIWbxkVoHp9R4aexBADaA52wvXp+Pgf29qgZolcYCOXJxu1l4VTzMoOoC0G9EOPXXfZFSDkyIAzHQoj7ODCx3NFseXF7WF4BjHTkpUtwJ1zFmPNwxg7o99HlYhIl9HV6uBiTCadjS5fuU6V54beMrgctg4y8zEBjoayA7e6BJYFdyxeU1A9bdkxH/xUIrLvLtfBr3hwBXDjQUpwlfzoAqrQANCtH58G1tnigQbjdk9ti/OpCOYtHZreug1QSxvq/hd2MN7VpN/6892XvqXP9DVAoxP2n9FK2pvw6Fvk0ZjrzUpSBM1XSXAbOYKijHm8RhohDGLh/kB9A+RV9x/WIatqqH58lztL8JMO/TWXQ/o2tcmf2ikA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4965.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(136003)(39860400002)(366004)(376002)(346002)(230922051799003)(230173577357003)(230273577357003)(186009)(1800799012)(64100799003)(451199024)(478600001)(54906003)(110136005)(8936002)(7696005)(316002)(71200400001)(66446008)(64756008)(966005)(1015004)(8676002)(52536014)(76116006)(91956017)(66556008)(66946007)(66476007)(9686003)(53546011)(6506007)(26005)(83380400001)(21615005)(4326008)(2906002)(41300700001)(5660300002)(30864003)(33656002)(38070700009)(166002)(66899024)(38100700002)(122000001)(15974865002)(86362001)(55016003)(19627405001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?eHZkQaTtljuiKT+DhZZGsjGuLk29BVs6WigJesZlfb8YI2eXJHam/u8s?= =?Windows-1252?Q?ORLuLL3oSctSzZHqBDe+8AWRcOEfqXK9Sf4NTeKeFWsqY5tpob+uT+lW?= =?Windows-1252?Q?Z82ArgCgtwmkTBFxTygZSipL91CixAfzmDVXM+1ssOXd/WWm741NZPtY?= =?Windows-1252?Q?8ragJJDdIl1lrAWIrHuj+y4R1COwemyDHIjZC/I8A2HVR72UDBYRtPRW?= =?Windows-1252?Q?QeaIHGr/wMIXXQiMZs8UpDAlcV+/KbR2zwY2AG7HlgkJhMYQgEf+b7bw?= =?Windows-1252?Q?1s3bQ+6LIam3y0eeTGVtdTiT71NtgmvX8p/2SVep6NHjgerYG24IifY5?= =?Windows-1252?Q?sBZdN05zF0uK2BbktLdeQLsMNSi8aqL4Y4haQwhm+SsKT10YP2cButHI?= =?Windows-1252?Q?t3Ad7t6FFiTu3y+d17d72DqvfQih8GThxhwPxHroBDtDgwZF8PDCrLRo?= =?Windows-1252?Q?5ijLRfDC67jkcAk4IcjcLPIz8Dhf+LHpbmsByC6EwSA6648tcije9LVY?= =?Windows-1252?Q?rosydxwJXsl6VU6r1IlTrOamC5KUC/ys/NxiaWrFoWdL9An6HBtA+cnR?= =?Windows-1252?Q?1cTp3wfVji8X8N2DccGoqYXYsWpgOwnYeKDFlSFjakee84rhJKBQ34Iq?= =?Windows-1252?Q?zUFmSYLLseF9Ad48rN137hPRJsLJXmHgA2fQh2K7Dbnzibg9olx2o9lH?= =?Windows-1252?Q?vX56MGfZUPYxiwlp2GbvXj4UmgHOt0M/GLIkIM9ZHHk3rF8U44F+yjNu?= =?Windows-1252?Q?PiN8IXoIXGJ5pIzm9PeJKYUPWV8jmzzlv94NCI7p/+PYMmvFKlNHkKgb?= =?Windows-1252?Q?bE3dU/EZ4DTR26X1tXbXyNyNgopVbDtC0lDRZOkuwoPvQeecEHhfNfsP?= =?Windows-1252?Q?ltTczgYoMI7rDv9g+kpmpBnIKnSeDtyw9deZCdyp7toXW9pXX2C/bJcY?= =?Windows-1252?Q?CBuF3vgBVKIo520nK/IHe/v8p83DtqbSDvDayumzY2ZFJBGugAyeZ9a9?= =?Windows-1252?Q?AT9u6j54rZlgZn+tWebTagXJ+ru41Zy9zaHzogqFa5f8sS+hEP+HD/Xm?= =?Windows-1252?Q?mDNI/KQ6u9rMNeGA0mBhuYtdp69yjjRqLbkzRyJbQfHT36fEJsw8uH8A?= =?Windows-1252?Q?A0ZjA4YT1UCB8551HJHIH33M1QqtTpdcEEq5bjsD1kB/8GszTLadWLTz?= =?Windows-1252?Q?fuDvmv7x+9XDagfsU8N36eXzhpZ7DDrh2v1ZZnONvWV44ttfx27iwxUI?= =?Windows-1252?Q?xrct9GRR25FTurnxQEto07GinHXJ6IxWB+Ofgph1AOJdij1CXd2UZlA3?= =?Windows-1252?Q?oxZKohfFBKkDVGAZ5H+a5mt9pW+oxh586jqBGs4TG00kGK7BAtr0+L3a?= =?Windows-1252?Q?A5+G8rv74YMnNHGiXrN1e7GZ7ejzurUXJu7M6zSaXi5gV6mBW2cBJaFZ?= =?Windows-1252?Q?NaAp9Q0bhK6zHrd4qRgsqG7UEXGQPa/O/mEK+Rla0btyOAexFONnL8gr?= =?Windows-1252?Q?2KueKtIyeRbSSftzskCtyAYLRBQte1XTe0ymb6aNXZ625KAStEIWdaRQ?= =?Windows-1252?Q?EFO+Ls8e9yqn5nOZoaZHlZbeiij/NODUUQeukDmeEiV4Pfx61VDl0+RW?= =?Windows-1252?Q?OlXPNdNajunSgYhmh9+pMGi+foH4udJZaJg/Lw7/W9RPDSbCXAanL0h8?= =?Windows-1252?Q?L/UhuvhDrQg=3D?= Content-Type: multipart/alternative; boundary="_000_BY5PR12MB4965A7CCD855F6AE3BF157ED90692BY5PR12MB4965namp_" MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4965.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f539667-ca8d-4998-cd1f-08dc11fd7f64 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jan 2024 16:59:24.1266 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZsCRYKPiwGPYnKjuykffC606xTNKYP5XxImZLwe8trDbipnd+KDtN5sgAvZGfNXqHvjyk3oFQhnnZbQgc2wUxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5081 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --_000_BY5PR12MB4965A7CCD855F6AE3BF157ED90692BY5PR12MB4965namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable [Public] Hi Abdul, Wrt the backtrace command, I was mentioning the 'backtrace -n' command, wit= h a minus before the 'n', so that 'n' number of the outermost frames, rathe= r than the innermost ones are displayed. That did not seem to work correctl= ly. Thanks, Jini. ________________________________ From: Ijaz, Abdul B Sent: Wednesday, January 10, 2024 14:52 To: George, Jini Susan ; gdb-patches@sourceware.o= rg Cc: tom@tromey.com ; eliz@gnu.org ; blarsen@r= edhat.com Subject: RE: [PING 3][PATCH v5 0/4] GDB support for DW_AT_trampoline [Public] Caution: This message originated from an External Source. Use proper cautio= n when opening attachments, clicking links, or responding. Hi Jini, Thanks a lot for the feedback. I have added my response here : * Shouldn't the frame skipping be done for the 'return' command also ? Yes this is missing so I will add to return command also in next V6 series. * Shouldn't the frame skipping be enabled for the MI command '-stack-li= st-frames' also ? Yes this is also missing and need to check this. Will be added to this MI c= ommand also in V6 series. * The frame skipping does not seem to be working correctly for the 'bac= ktrace -n' command (to list 'n' nbr of the outermost frames). In commit message I think due to =93#=94 character at beginning backtrace l= ines are removed from commit message. I will update the commit message to s= how the lines or have you seen some issue as otherwise it works fine. =93Ba= cktrace n=94 shows like following output without trampoline frames. Missing= #1 & #3 here are trampoline frames : (gdb) bt 3 #0 second (x=3D20, y=3D9) at trampoline.f90:4 #2 0x00000000004051e3 in first (num1=3D16, num2=3D3) at trampoline.f90:10 #4 0x0000000000405234 in func_trampoline () at trampoline.f90:17 (gdb) show skip-trampoline-functions Skipping trampoline functions is on. (gdb) set skip-trampoline-functions off (gdb) bt 3 #0 second (x=3D20, y=3D9) at trampoline.f90:4 #1 0x0000000000405209 in second_.t74p.t75p () at trampoline.f90:12 #2 0x00000000004051e3 in first (num1=3D16, num2=3D3) at trampoline.f90:10 (More stack frames follow...) * As of now, there does not seem to be a way to turn off the filtering = of the trampoline frames. Shouldn't there be one ? There is skip-trampoline-functions option added in patch #4 of the series. = So it should be possible to turn it off. Would not it be sufficient? Though= found out that its handling for backtrace command is missing which I will = add like shown above when I will send next V6 series of patch for review. * One suggestion for the trampoline frame filtering is to piggyback on = the current python frame filtering (plus FrameDecorator) mechanism. This mi= ght mean including adding a filter for this to the current source. This wou= ld enable users to use the existing commands to turn off frame filtering. B= ut this is just a suggestion, and it would be good to go by what the mainta= iners say wrt this Not much familiar with it but as you said need to see maintainers feedback = regarding this and then may investigate accordingly. What is done so far = regarding python frame filters is that now handling filter trampoline fram= es also using =93skip-trampoline-functions=94 configure option. By default = python frame filters will not show trampoline frames but can be enabled to = show this by using this option. Thanks & Best Regards Abdul Basit From: George, Jini Susan Sent: Wednesday, January 10, 2024 8:41 AM To: Ijaz, Abdul B ; gdb-patches@sourceware.org Cc: tom@tromey.com; eliz@gnu.org; blarsen@redhat.com Subject: Re: [PING 3][PATCH v5 0/4] GDB support for DW_AT_trampoline [Public] Hi Abdul, Thank you for incorporating the comments. A few suggestions/ comments wrt t= he new functionality of skipping the stack frames with the 'bt' and 'finish= ' commands below. * Shouldn't the frame skipping be done for the 'return' command also ? * Shouldn't the frame skipping be enabled for the MI command '-stack-li= st-frames' also ? * The frame skipping does not seem to be working correctly for the 'bac= ktrace -n' command (to list 'n' nbr of the outermost frames). * As of now, there does not seem to be a way to turn off the filtering = of the trampoline frames. Shouldn't there be one ? * One suggestion for the trampoline frame filtering is to piggyback on = the current python frame filtering (plus FrameDecorator) mechanism. This mi= ght mean including adding a filter for this to the current source. This wou= ld enable users to use the existing commands to turn off frame filtering. B= ut this is just a suggestion, and it would be good to go by what the mainta= iners say wrt this. Thanks, Jini. ________________________________ From: Ijaz, Abdul B > Sent: Thursday, December 28, 2023 17:00 To: gdb-patches@sourceware.org > Cc: George, Jini Susan >; tom@tromey.com >; eliz@gnu.org >; blarsen@redhat.com > Subject: RE: [PING 3][PATCH v5 0/4] GDB support for DW_AT_trampoline Caution: This message originated from an External Source. Use proper cautio= n when opening attachments, clicking links, or responding. Ping! Best Regards Abdul Basit -----Original Message----- From: Ijaz, Abdul B Sent: Wednesday, September 27, 2023 11:05 PM To: 'gdb-patches@sourceware.org' > Cc: 'JiniSusan.George@amd.com' >; 'tom@tromey.com' >; = 'eliz@gnu.org' >; 'blarsen@redhat.com' > Subject: RE: [PING 2][PATCH v5 0/4] GDB support for DW_AT_trampoline Ping! Thanks & Best Regards Abdul Basit -----Original Message----- From: Ijaz, Abdul B Sent: Sunday, September 3, 2023 9:14 PM To: gdb-patches@sourceware.org Cc: JiniSusan.George@amd.com; tom@tromey.c= om; eliz@gnu.org; blarsen@redha= t.com Subject: RE: [PING][PATCH v5 0/4] GDB support for DW_AT_trampoline Ping! Best Regards Abdul Basit -----Original Message----- From: Ijaz, Abdul B > Sent: Wednesday, August 16, 2023 11:54 PM To: gdb-patches@sourceware.org Cc: Ijaz, Abdul B >; = JiniSusan.George@amd.com; tom@tromey.com; eliz@gnu.org; blarsen@redhat.co= m Subject: [PATCH v5 0/4] GDB support for DW_AT_trampoline From: "Ijaz, Abdul B" > Hi, please find attached a series of patches that attempts to enable GDB to han= dle the DW_AT_trampoline attribute on functions and inlined functions. DW_AT_trampoline can be emitted by the compiler for functions that are comp= iler generated trampolines (e.g. wrapping other function calls). In doing so, the compiler can specify a target as the value of DW_AT_trampo= line which the trampoline is wrapping. This series enables GDB to recognize the DW_AT_trampoline and store the tar= get for a given function. Patch 3 adapts GDB's stepping behavior when deal= ing with trampolines and attempts to - by default - hide these trampolines = from the user. When about to step into a trampoline, instead, GDB will try= and step through the trampoline and directly towards the target. Patch 4 = in V2 now skip trampoline frames in the stack for printing or finish comman= d. A new setting has been introduced to turn off this modified stepping be= havior or printing of stack for trampolines. The motivation for these patches comes from ifx which emits the attribute f= or some of its compiler generated functions. As I do not know of any other= compiler (especially gcc/gfortran) emitting DW_AT_trampoline, I added a gd= b.dwarf2 test to this series in order to test the trampoline handling withi= n GDB. Changes since V4: * Fixed reverse finish for trampolines. * Elide trampoline frames in backtrace for frame-filters case. * Use target subroutine address instead of name in case of ref type trampoline target. * Fixed loops formatting and now split line where possible at ";". V4 series of patches can be found here: https://sourceware.org/pipermail/gdb-patches/2023-August/201263.html No regression seen on testing x64/native-extended-gdbserver(-m32)/x32/ native-gdbserver test configurations for these changes using Ubuntu 22. Thanks & Best Regards Abdul Basit Abdul Basit Ijaz (1): gdb: Skip trampoline frames in the stack for printing or finish command. Nils-Christian Kempke (3): gdb, dwarf: add support for DW_AT_trampoline in DWARF reader gdb/symtab: add lookup for trampoline functions gdb/infrun: handle stepping through functions with DW_AT_trampoline gdb/NEWS | 15 ++ gdb/doc/gdb.texinfo | 47 ++++ gdb/dwarf2/read.c | 46 +++- gdb/gdbtypes.c | 34 ++- gdb/gdbtypes.h | 113 +++++++- gdb/infcmd.c | 13 + gdb/infrun.c | 93 ++++++- gdb/infrun.h | 10 + gdb/python/py-frame.c | 15 ++ gdb/stack.c | 8 + gdb/symtab.c | 80 ++++++ gdb/symtab.h | 19 ++ .../gdb.dwarf2/dw2-function-trampolines.c | 80 ++++++ .../gdb.dwarf2/dw2-function-trampolines.exp | 245 ++++++++++++++++++ gdb/testsuite/gdb.fortran/func-trampoline.exp | 69 +++++ gdb/testsuite/gdb.fortran/func-trampoline.f90 | 39 +++ .../gdb.fortran/mixed-lang-stack.exp | 10 +- 17 files changed, 922 insertions(+), 14 deletions(-) create mode 100644 g= db/testsuite/gdb.dwarf2/dw2-function-trampolines.c create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-function-trampolines.exp create mode 100644 gdb/testsuite/gdb.fortran/func-trampoline.exp create mode 100644 gdb/testsuite/gdb.fortran/func-trampoline.f90 -- 2.34.1 Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928 Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928 --_000_BY5PR12MB4965A7CCD855F6AE3BF157ED90692BY5PR12MB4965namp_--