From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2843 invoked by alias); 29 Jan 2008 04:19:18 -0000 Received: (qmail 2820 invoked by uid 22791); 29 Jan 2008 04:19:16 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 29 Jan 2008 04:18:51 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-229-126-42.inter.net.il [84.229.126.42]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id KBC95971 (AUTH halo1); Tue, 29 Jan 2008 06:18:29 +0200 (IST) Date: Tue, 29 Jan 2008 04:19:00 -0000 Message-Id: From: Eli Zaretskii To: Daniel Jacobowitz CC: wkf@sinavigator.com, gdb@sourceware.org In-reply-to: <20080128201939.GA12178@caradoc.them.org> (message from Daniel Jacobowitz on Mon, 28 Jan 2008 15:19:39 -0500) Subject: Re: Step outer function call Reply-to: Eli Zaretskii References: <479E332C.7080205@sinavigator.com> <20080128200951.GA11321@caradoc.them.org> <479E3744.1050500@sinavigator.com> <20080128201939.GA12178@caradoc.them.org> 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: 2008-01/txt/msg00301.txt.bz2 > Date: Mon, 28 Jan 2008 15:19:39 -0500 > From: Daniel Jacobowitz > Cc: gdb@sourceware.org > > On Mon, Jan 28, 2008 at 12:12:52PM -0800, William K. Foster wrote: > > Hi, > > > > I don't know much about the debug formats, but it seems to me that since > > the debugger knows what line number it is on in the source code, it > > should be able to locate the last function call on that line number and > > enter it for this hypothetical command that many people seem to want. > > > > Am I missing something? > > Yes, generally we can't locate the last function call. Can we locate all of them? If so, perhaps we could (optionally) display a menu of them and ask the user where she wants to step.