From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id uAp5GaN4BWb3jRkAWB0awg (envelope-from ) for ; Thu, 28 Mar 2024 10:03:15 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=XpwKGkC2; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 638531E0C0; Thu, 28 Mar 2024 10:03:15 -0400 (EDT) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 50C4A1E030 for ; Thu, 28 Mar 2024 10:03:13 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0EBCF3858C5E for ; Thu, 28 Mar 2024 14:03:13 +0000 (GMT) Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id B4D773858D20 for ; Thu, 28 Mar 2024 14:02:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B4D773858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B4D773858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711634574; cv=none; b=ptzhPNgUGp4HL9dcEx34oQkTI2z066s+Q6Zuglixy5Ccs00u8D9nBdUvdhY40fYehsqHOVrcZeC6L0Bb5ISx/6kORTBXJVQUdoA1+psMW7QlnPqhfuSB1ObVHjlzuSxqwIBBfBUwJoC5fZQ/q1pQClF287tX12QnKoXWcYWUyME= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711634574; c=relaxed/simple; bh=n9D/xJoQV/ccTyYtw21CbqHhGTTMb8hys9ZN8HGBx2A=; h=DKIM-Signature:Date:Message-Id:From:To:Subject; b=Xy2YDz9cPIB+HyFZ6QQGDGyqW3TATDqe4Ht6yn6tdJgTmTBzXWdyaOSEAygrMr2RZ5RpT2IfHUklVylZr0ur8q1KkMujwHO1+gBj+qYduytdTnEXJ7Mu5CEXlDSulz976ZE1Pw7Y6qcy112qBMadFojIxKGZJuIxsgEXvG/eOnE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpqLD-0003LS-KO; Thu, 28 Mar 2024 10:02:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ko2T7s8DCh5R5M14zQChBIU6ateuQMGINn1oWgKyajI=; b=XpwKGkC2UR8F CykI9vrfSx/9n9n6Zdfe6t8FLmDZbEHbOmJsnzs/4EcylMExpB//U3eTlGOfRld+Y4aG2ze5zQe9b Jgukd93xHzT+HcPLajqq4T4+Ot5wFQdgeXaNpQA1f48f3Vf6v7oRgsY469oKUPGlPHek31yrHkZqO 01mYwWYcExkwgd8iDjklijvggw0zSJFt1GM3O1f39akAYPGB8I1Lx22BocgchicCzM5w2aJ2A8Q97 4Upt8Uk3FvWIQKMSwdGK2nzJSI4h+dTms0VXI1GtLTEo/IssTG+xJHnbHOKT+l8U3RZJ8H3KWv1jj VrZewdA80eCLryghCHKg4w==; Date: Thu, 28 Mar 2024 16:02:48 +0200 Message-Id: <86r0fufo8n.fsf@gnu.org> From: Eli Zaretskii To: Abdul Basit Ijaz Cc: gdb-patches@sourceware.org, JiniSusan.George@amd.com, tom@tromey.com In-Reply-To: <20240328120528.30382-9-abdul.b.ijaz@intel.com> (message from Abdul Basit Ijaz on Thu, 28 Mar 2024 13:05:26 +0100) Subject: Re: [PATCH v6 08/10] gdb, mi: Skip trampoline functions for the -stack-list-frames command. References: <20240328120528.30382-1-abdul.b.ijaz@intel.com> <20240328120528.30382-9-abdul.b.ijaz@intel.com> X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org > From: Abdul Basit Ijaz > Cc: abdul.b.ijaz@intel.com, > JiniSusan.George@amd.com, > tom@tromey.com, > eliz@gnu.org > Date: Thu, 28 Mar 2024 13:05:26 +0100 > > gdb/doc/gdb.texinfo | 4 +- > gdb/mi/mi-cmd-stack.c | 7 +++ > gdb/testsuite/gdb.mi/mi-func-trampoline.exp | 68 +++++++++++++++++++++ > 3 files changed, 78 insertions(+), 1 deletion(-) > create mode 100644 gdb/testsuite/gdb.mi/mi-func-trampoline.exp > > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > index a6f74373dfe..90221e9b9c1 100644 > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -34866,7 +34866,9 @@ an error if @var{low-frame} is larger than the actual number of > frames. On the other hand, @var{high-frame} may be larger than the > actual number of frames, in which case only existing frames will be > returned. If the option @code{--no-frame-filters} is supplied, then > -Python frame filters will not be executed. > +Python frame filters will not be executed. If the option > +@code{skip-trampoline-functions} is set, @value{GDBN} will skip the trampoline > +frames while printing a backtrace. > > @subsubheading @value{GDBN} Command OK for the gdb.texinfo part, thanks. Reviewed-By: Eli Zaretskii