From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id puPwNSV45mPkSi8AWB0awg (envelope-from ) for ; Fri, 10 Feb 2023 12:00:21 -0500 Received: by simark.ca (Postfix, from userid 112) id CABF81E221; Fri, 10 Feb 2023 12:00:21 -0500 (EST) Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=DTmspe1t; 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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 39FE41E110 for ; Fri, 10 Feb 2023 12:00:21 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 78F7E385B53F for ; Fri, 10 Feb 2023 17:00:20 +0000 (GMT) Received: from outbound-ss-820.bluehost.com (outbound-ss-820.bluehost.com [69.89.24.241]) by sourceware.org (Postfix) with ESMTPS id 8FDA7385841A for ; Fri, 10 Feb 2023 17:00:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8FDA7385841A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com Received: from cmgw12.mail.unifiedlayer.com (unknown [10.0.90.127]) by progateway2.mail.pro1.eigbox.com (Postfix) with ESMTP id C83C410046B4A for ; Fri, 10 Feb 2023 17:00:01 +0000 (UTC) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTP id QWkjpJb9pVjzQQWkjpUF5G; Fri, 10 Feb 2023 17:00:01 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=bt2JuGWi c=1 sm=1 tr=0 ts=63e67811 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=gAfeYaVqHuZNuuy-:21 a=m04uMKEZRckA:10:nop_rcvd_month_year a=Qbun_eYptAEA:10:endurance_base64_authed_username_1 a=CCpqsmhAAAAA:8 a=n_DAzoXwS9NBFGvzTi0A:9 a=JUPZXjt_YF8x2PGdTc8s:22 a=ul9cdbp4aOFLsgKbc677:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=dO1pemJWXHrIqycjdG2Xw0zVNH6TvSXenv8ocQ9B07k=; b=DTmspe1tYuwYwEDKka7P8Jp9t5 uh3dQmBAg5ARF3RO7zE97nSksta/VZ7mcayRCmjyuAZqAlNtE9cMepZ1Btc1jS7ydUW54cjvcXiC1 4AwvEzFdTnwJqobvutMMFiVBV; Received: from 75-166-130-93.hlrn.qwest.net ([75.166.130.93]:42508 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pQWkj-000aqH-5i; Fri, 10 Feb 2023 10:00:01 -0700 From: Tom Tromey To: Simon Sobisch via Gdb Cc: Simon Sobisch Subject: Re: Is there an option to "silent-step"/ "silent-next" (possibly in python and/or mi)? References: <36c20830-7713-bff5-ca88-ea8bc2aab8b5@gnu.org> X-Attribution: Tom Date: Fri, 10 Feb 2023 09:59:58 -0700 In-Reply-To: <36c20830-7713-bff5-ca88-ea8bc2aab8b5@gnu.org> (Simon Sobisch via Gdb's message of "Wed, 8 Feb 2023 14:44:07 +0100") Message-ID: <87o7q1xxpt.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.130.93 X-Source-L: No X-Exim-ID: 1pQWkj-000aqH-5i X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-130-93.hlrn.qwest.net (murgatroyd) [75.166.130.93]:42508 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" >>>>> "Simon" == Simon Sobisch via Gdb writes: Simon> For "stepping in the current source" (given a mixed-source) I look for Simon> a way to "silent step" / "silent next". Simon> This will be useful for example if you debug within Bison and/or Flex Simon> generated sources and don't want to step through the state / token Simon> machine, having only the Bison / Flex _source_ be visible. Simon> Getting the source name from the frame and comparing this after a Simon> step/next is no big problem in GDB using python Simon> gdb.selected_frame().find_sal().symtab.fullname() Simon> Using GDB in TUI mode I commonly "stay" in the source I'm interested Simon> in this way, but the GDB command line gets "flooded" with all the Simon> intermediate frame positions I'm not interested in. Simon> So: is there a way to do a "step"/"next" with suppressing the normal Simon> output and mi stop events normally send? I don't think there is right now. I think suppressing output during these kinds of commands is a known issue, but nobody has looked into what would be needed to fix it. Tom