From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: gdbui hang Date: 10 May 2004 13:43:27 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084164592 2592 80.91.224.253 (10 May 2004 04:49:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 May 2004 04:49:52 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 10 06:49:45 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BN2jZ-0000te-00 for ; Mon, 10 May 2004 06:49:45 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BN2jX-0005uZ-00 for ; Mon, 10 May 2004 06:49:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.33) id 1BN2iu-0005PJ-QX for emacs-devel@quimby.gnus.org; Mon, 10 May 2004 00:49:04 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.33) id 1BN2h3-00051z-1K for emacs-devel@gnu.org; Mon, 10 May 2004 00:47:09 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.33) id 1BN2gQ-0004mP-FO for emacs-devel@gnu.org; Mon, 10 May 2004 00:47:01 -0400 Original-Received: from [202.32.8.214] (helo=TYO201.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.33) id 1BN2dY-00033K-Dt; Mon, 10 May 2004 00:43:33 -0400 Original-Received: from mailgate4.nec.co.jp (mailgate54.nec.co.jp [10.7.69.197]) by TYO201.gate.nec.co.jp (8.11.7/3.7W01080315) with ESMTP id i4A4hUa21638; Mon, 10 May 2004 13:43:30 +0900 (JST) Original-Received: (from root@localhost) by mailgate4.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id i4A4hUf18081; Mon, 10 May 2004 13:43:30 +0900 (JST) Original-Received: from edtmg03.lsi.nec.co.jp ([10.26.16.203]) by mailsv4.nec.co.jp (8.11.7/3.7W-MAILSV4-NEC) with ESMTP id i4A4hTX12896; Mon, 10 May 2004 13:43:29 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edtmg03.lsi.nec.co.jp (8.12.10/8.12.10) with ESMTP id i4A4hSBj012863; Mon, 10 May 2004 13:43:28 +0900 (JST) Original-Received: from mcspd15 (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.12.10/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id i4A4hRaQ006693; Mon, 10 May 2004 13:43:27 +0900 (JST) Original-Received: by mcspd15 (Postfix, from userid 31295) id A8C9A48E; Mon, 10 May 2004 13:43:27 +0900 (JST) Original-To: emacs-devel@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop Original-Lines: 24 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23017 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23017 Sometimes (well, actually fairly often) the new fancy gdb mode hangs in a way that can't be interrupted, e.g.: ... Program exited normally. (gdb) break poc_startup Function "poc_startup" not defined. Make breakpoint pending on future shared library load? (y or [n]) n C-c C-c C-c C-c C-c C-c C-c C-c C-c C-c C-c C-c C-c C-c I'm not sure what other info is useful to debug this. [A related problem is that if I kill the *gud-foo* buffer to try and recover from the hang, and then start another gdb process, it will often fail to work, saying `selecting deleted buffer' in a command I give. In general it's a good idea to recover gracefully if a buffer is deleted; the gdb mode probably shouldn't be keeping any session state outside of the gdb buffer itself -- i.e., try to make any state variables buffer-local in the gdb session buffer.] -Miles -- Run away! Run away!