From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 120841 invoked by alias); 10 Mar 2017 08:25:30 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 120828 invoked by uid 89); 10 Mar 2017 08:25:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*F:D*hr X-HELO: mail.fer.hr Received: from mail5.fer.hr (HELO mail.fer.hr) (161.53.72.235) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 10 Mar 2017 08:25:28 +0000 Received: from POSTAR.fer.hr (2001:b68:16:250::72:237) by MAIL5.fer.hr (2001:b68:16:250::72:235) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 10 Mar 2017 09:25:27 +0100 Received: from mail-wr0-f179.google.com (209.85.128.179) by POSTAR.fer.hr (161.53.72.237) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 10 Mar 2017 09:25:26 +0100 Received: by mail-wr0-f179.google.com with SMTP id u108so59991734wrb.3 for ; Fri, 10 Mar 2017 00:25:26 -0800 (PST) X-Gm-Message-State: AMke39mypgB2Xe1813Sgs4Lwz7YXEujFAB3FK3Zb4DtYfEERJZuvMAz+Js3A26P8EEBd40GL0LqKPejdtzD6Cw== X-Received: by 10.223.157.37 with SMTP id k37mr14309159wre.148.1489134326248; Fri, 10 Mar 2017 00:25:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.224.139 with HTTP; Fri, 10 Mar 2017 00:24:45 -0800 (PST) From: =?UTF-8?B?SnVyYWogT3LFoXVsacSH?= Date: Fri, 10 Mar 2017 08:25:00 -0000 X-Gmail-Original-Message-ID: Message-ID: Subject: "continue" in breakpoint commands breaks line-by-line stepping To: Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2017-03/txt/msg00017.txt.bz2 Hi everyone, I have a quick question. I have added some breakpoint commands for logging using the "commands" command. Since I don't want to stop the execution in these points, I added a "continue", as mentioned in https://sourceware.org/gdb/onlinedocs/gdb/Break-Commands.html. However, this breaks stepping line-by-line in outer frames - if I stumple upon one of these logging breakpoints, it issues a "continue", and I lose control if I call "next" when I am in an outer frame. How could I mitigate this? Perhaps by redefining "next" to set a temporary breakpoint on the next line to ensure that I stop there? Should this be the default behavior? Thanks, Juraj