From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23319 invoked by alias); 25 Apr 2012 03:20:05 -0000 Received: (qmail 23306 invoked by uid 22791); 25 Apr 2012 03:20:03 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 Apr 2012 03:19:43 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3P3Jft2018769 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 24 Apr 2012 23:19:41 -0400 Received: from psique (ovpn-112-42.phx2.redhat.com [10.3.112.42]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q3P3JbDW028625; Tue, 24 Apr 2012 23:19:39 -0400 From: Sergio Durigan Junior To: Ilya Basin Cc: gdb@sourceware.org Subject: Re: feature request: set step-mode smart References: <1224346844.20120421150636@gmail.com> X-URL: http://www.redhat.com Date: Wed, 25 Apr 2012 03:20:00 -0000 In-Reply-To: <1224346844.20120421150636@gmail.com> (Ilya Basin's message of "Sat, 21 Apr 2012 15:06:36 +0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-04/txt/msg00205.txt.bz2 On Saturday, April 21 2012, Ilya Basin wrote: > Hi! Sometimes you need to step into a function that is called via a > jump table. In this case gdb behaves inconveniently: > Either you leave default step-mode and gdb can't step into that > function or you set step-mode on and gdb will step into all functions > without sources. > > I think, gdb should try to stepi a fixed number of instructions (~100) > searching for a code line and if not found, step out. Hello Ilya, Thanks for the message. Could you please also create an entry in the GDB Bugzilla as well? The link is http://sourceware.org/bugzilla/ This is not a guarantee that someone will actually implement this request, but at least we can keep a record of such things. Thanks. -- Sergio