From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: gdb with many windows: kill associated buffers doesn't always work Date: Wed, 24 May 2006 00:53:21 +1200 Message-ID: <17523.1473.953618.707854@kahikatea.snap.net.nz> References: <17522.54798.555541.900063@kahikatea.snap.net.nz> <17522.63562.688773.821247@kahikatea.snap.net.nz> <17522.65304.733011.461493@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1148401995 20253 80.91.229.2 (23 May 2006 16:33:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 May 2006 16:33:15 +0000 (UTC) Cc: Klaus Zeitler , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 23 18:33:12 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FiZoZ-000658-7L for ged-emacs-devel@m.gmane.org; Tue, 23 May 2006 18:33:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FiZoY-0003Le-M9 for ged-emacs-devel@m.gmane.org; Tue, 23 May 2006 12:32:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FiZoN-0003LZ-9k for emacs-devel@gnu.org; Tue, 23 May 2006 12:32:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FiZoM-0003LN-11 for emacs-devel@gnu.org; Tue, 23 May 2006 12:32:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FiZoL-0003LK-Td for emacs-devel@gnu.org; Tue, 23 May 2006 12:32:45 -0400 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FiWSn-0001eB-IS for emacs-devel@gnu.org; Tue, 23 May 2006 08:58:19 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by mx20.gnu.org with esmtp (Exim 4.52) id 1FiWOW-0006vF-Oa for emacs-devel@gnu.org; Tue, 23 May 2006 08:53:53 -0400 Original-Received: from kahikatea.snap.net.nz (p367-tnt1.snap.net.nz [202.124.111.113]) by viper.snap.net.nz (Postfix) with ESMTP id 7D6F97578BA; Wed, 24 May 2006 00:53:50 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id DC03B1D3550; Wed, 24 May 2006 00:53:23 +1200 (NZST) Original-To: Andreas Schwab In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.13 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55141 Archived-At: > > If GDB crashes then thats a bug in GDB and this should rarely happen. > > But it happens, and when it happens you don't want to lose all your > valuable history. Well, if its that valuable you could presumably save it with 'set logging on'. >... > > Which two buffers?? The first one i.e the GUD buffer with the killed > > process, and the second one i.e the one that can be invoked because the > > current code only complains about multiple debugging when the gdb process > > is still running. > > I still don't see where the second buffer appears when it is reused. Sorry, I'm thinking of the case where GDB is invoked with a different executable on the second occasion (although there are problems even when the executable is the same, as Klaus pointed out). -- Nick http://www.inet.net.nz/~nickrob