From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.bugs Subject: bug#6097: 23.1; PDB should pop "up" the stack on return Date: Tue, 04 May 2010 10:43:35 -0400 Organization: BoostPro Computing Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: dough.gmane.org 1272985794 17676 80.91.229.12 (4 May 2010 15:09:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 15:09:54 +0000 (UTC) To: 6097@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 04 17:09:49 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9Jkk-000671-7n for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 May 2010 17:09:47 +0200 Original-Received: from localhost ([127.0.0.1]:60116 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9Jkf-0001Y0-1X for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 May 2010 11:09:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9JXZ-0002V4-J3 for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 10:56:05 -0400 Original-Received: from [140.186.70.92] (port=48649 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9JXX-0002Tj-Rb for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 10:56:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9JXW-0008HF-Ok for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 10:56:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41906) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9JXW-0008H8-LM for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 10:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O9JLu-000070-5u; Tue, 04 May 2010 10:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Abrahams Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 May 2010 14:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1272984195417 (code B ref -1); Tue, 04 May 2010 14:44:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 May 2010 14:43:15 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9JL8-00006g-EJ for submit@debbugs.gnu.org; Tue, 04 May 2010 10:43:15 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9JL5-00006Z-UB for submit@debbugs.gnu.org; Tue, 04 May 2010 10:43:12 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:51926) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O9JL0-0000wt-Ti for submit@debbugs.gnu.org; Tue, 04 May 2010 10:43:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9JL0-0003MA-Eu for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 10:43:06 -0400 Original-Received: from [140.186.70.92] (port=35230 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9JKy-0003L3-B8 for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 10:43:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9JKx-0005xJ-8S for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 10:43:04 -0400 Original-Received: from [206.217.198.21] (port=41074 helo=boostpro.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9JKx-0005x7-4O for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 10:43:03 -0400 Original-Received: from zreba.local (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com [207.172.223.249]) (Authenticated sender: dave) by boostpro.com (Postfix) with ESMTPSA id 9809414BBC5; Tue, 4 May 2010 15:43:01 +0100 (BST) Original-Received: from zreba.local (localhost [127.0.0.1]) by zreba.local (Postfix) with ESMTP id D826C227CD5C; Tue, 4 May 2010 10:43:35 -0400 (EDT) User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 =?UTF-8?Q?(Goj=C5=8D)?= APEL/10.7 Emacs/23.1 (i386-apple-darwin9.8.0) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 04 May 2010 10:44:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36684 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: 1) Debug a python program using PDB, say def g(): pass def h(): pass def f(): g() h() 2) step into g() 3) hit `n' until you see --Return-- in the *gud* buffer 4) Note that the GUD line marker is still pointing at the last line of g, just as it was before the last `n' 5) Hit `n' again. Note that the GUD line marker is now pointing at the first line of h() It would be more consistent and easier to use if, at step 4, the line marker indicated the 3rd line of f(), i.e. the call to h() If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /Applications/Emacs.app/Contents/Resources/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2009-08-16 on black.local Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t show-paren-mode: t server-mode: t global-auto-revert-mode: t delete-selection-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-w C-s C-, C-, C-s l i n k s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-n C-n C-p C-p C-p C-n C-n C-p C-p C-n C-n C-p C-x SPC C-x C-b C-x C-b C-x C-b b SPC p i p . i n d e x C-a C-k i m p o r t SPC p i p . i n d e x C-x C-b C-x SPC C-x C-b C-x C-b C-x C-b M-p M-p M-n C-a M-d b C-e . P a c k a g e F i n d e r . _ _ i n i t _ _ c n s w h e r e u s M-x f i n d - f u n p d b M-< C-n C-e C-n C-e C-, C-, C-, C-, C-, C-, C-s p d b C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-r C-r SPC s u p p C-r C-s C-s C-g M-< C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-s p d b C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-p C-p C-p C-p C-s p y t h o n C-g C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p M-x r e p o r t - e m b u Recent messages: pdbtrack: line 37, file /Users/dave/work/pipsync/int/pip/index.py Mark set [2 times] pdbtrack: line 142, file /Users/dave/work/pipsync/int/pip/commands/install.py Mark set [2 times] pdbtrack: line 708, file /Users/dave/work/pipsync/int/pip/req.py uncompressing gud.el.gz...done Mark set Mark saved where search started Mark set Mark saved where search started Quit -- Dave Abrahams Meet me at BoostCon: http://www.boostcon.com BoostPro Computing http://www.boostpro.com