From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12654 invoked by alias); 25 Jul 2012 00:31:04 -0000 Received: (qmail 12644 invoked by uid 22791); 25 Jul 2012 00:31:03 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-yw0-f41.google.com (HELO mail-yw0-f41.google.com) (209.85.213.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 Jul 2012 00:30:50 +0000 Received: by yhr47 with SMTP id 47so193789yhr.0 for ; Tue, 24 Jul 2012 17:30:50 -0700 (PDT) Received: by 10.101.7.19 with SMTP id k19mr5322786ani.6.1343176249931; Tue, 24 Jul 2012 17:30:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.208.1 with HTTP; Tue, 24 Jul 2012 17:30:09 -0700 (PDT) From: Tristan Wibberley Date: Wed, 25 Jul 2012 00:31:00 -0000 Message-ID: Subject: Feature request: support a "resume previous execution" with a breakpoint commands section To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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 X-SW-Source: 2012-07/txt/msg00075.txt.bz2 Please add a command that is valid within a breakpoint commands section which simply resumes whatever you were doing (finish, next, step, continue, until , etc, as if you did not have the extra breakpoint running some commands automatically). Background: It is possible to make gdb to take some action when a breakpoint is hit: break commands silent some-actions continue end The problem with this that the request will solve: If you are using "next" to manually step through some code which will also cause gdb to take those actions then your "next" command magically turns into a full "continue". This happens also when the code that will cause the actions to be taken is deeply nested and you are expecting to step over it. Please let me know if this request isn't described well. Regards, -- Tristan