From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25883 invoked by alias); 25 Apr 2012 10:40:25 -0000 Received: (qmail 25811 invoked by uid 22791); 25 Apr 2012 10:40:23 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp3.ugent.be (HELO smtp3.ugent.be) (157.193.49.127) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 Apr 2012 10:40:08 +0000 Received: from localhost (mcheck2.ugent.be [157.193.49.249]) by smtp3.ugent.be (Postfix) with ESMTP id 4F93EC3AB; Wed, 25 Apr 2012 12:40:07 +0200 (CEST) Received: from smtp3.ugent.be ([157.193.49.127]) by localhost (mcheck2.UGent.be [157.193.43.11]) (amavisd-new, port 10024) with ESMTP id Xu53R+LrBGz9; Wed, 25 Apr 2012 12:40:06 +0200 (CEST) Received: from mail.elis.ugent.be (mail.elis.UGent.be [157.193.206.48]) by smtp3.ugent.be (Postfix) with ESMTP id 83F54C3A5; Wed, 25 Apr 2012 12:40:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.elis.ugent.be (Postfix) with ESMTP id 697BA918F12; Wed, 25 Apr 2012 12:40:06 +0200 (CEST) Received: from mail.elis.ugent.be ([127.0.0.1]) by localhost (mail.elis.ugent.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CMNY5KfSuhMt; Wed, 25 Apr 2012 12:40:01 +0200 (CEST) Received: by mail.elis.ugent.be (Postfix, from userid 48) id 75D20918F14; Wed, 25 Apr 2012 12:40:01 +0200 (CEST) Received: from bigmac.elis.UGent.be (bigmac.elis.UGent.be [157.193.206.33]) by mail.elis.ugent.be (Horde Framework) with HTTP; Wed, 25 Apr 2012 12:40:01 +0200 Date: Wed, 25 Apr 2012 10:40:00 -0000 Message-ID: <20120425124001.Horde.7iYfQ0isJlFPl9SBVQNWqLA@mail.elis.ugent.be> From: Jonas Maebe To: Ilya Basin Cc: Sergio Durigan Junior , gdb@sourceware.org Subject: Re: Re[2]: feature request: set step-mode smart References: <1224346844.20120421150636@gmail.com> <20120425114420.Horde.vTwDIEisJlFPl8d0GiwUFMA@mail.elis.ugent.be> <1505053135.20120425140807@gmail.com> In-Reply-To: <1505053135.20120425140807@gmail.com> User-Agent: Internet Messaging Program (IMP) H4 (5.0.20) Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-j-chkmail-Enveloppe: 4F97D486.002 from mail.elis.UGent.be/mail.elis.UGent.be/157.193.206.48/mail.elis.ugent.be/ X-j-chkmail-Score: MSGID : 4F97D486.002 on smtp3.ugent.be : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham 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/msg00209.txt.bz2 Ilya Basin wrote on Wed, 25 Apr 2012: > JM> up to figuring out yet. In the long term, it also does not seem > JM> tenable to add pattern recognition to gdb for stubs generated by all > JM> possible compilers (and possibly different versions of those compilers). > > No one's speaking about pattern recognition. If gdb does not automatically step a number of instructions to see whether subsequent code has debug information, you need pattern recognition in gdb to automatically detect such situations and to avoid the problem you described (gdb skipping or stepping over such code, rather than stepping into it). See this thread: http://sourceware.org/ml/gdb/2009-04/msg00008.html Jonas