From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: gdb with many windows: kill associated buffers doesn't always work Date: Tue, 23 May 2006 14:58:41 +0200 Message-ID: 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> <17523.1473.953618.707854@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1148403890 28023 80.91.229.2 (23 May 2006 17:04:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 May 2006 17:04:50 +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 19:04:44 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 1FiaJI-00047t-FA for ged-emacs-devel@m.gmane.org; Tue, 23 May 2006 19:04:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FiaJH-0008S6-Um for ged-emacs-devel@m.gmane.org; Tue, 23 May 2006 13:04:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FiaJ7-0008Rn-45 for emacs-devel@gnu.org; Tue, 23 May 2006 13:04:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FiaJ5-0008Rb-Go for emacs-devel@gnu.org; Tue, 23 May 2006 13:04:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FiaJ5-0008RY-B3 for emacs-devel@gnu.org; Tue, 23 May 2006 13:04:31 -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 1FiWXY-0006x0-AL for emacs-devel@gnu.org; Tue, 23 May 2006 09:03:12 -0400 Original-Received: from [195.135.220.2] (helo=mx1.suse.de) by mx20.gnu.org with esmtp (Exim 4.52) id 1FiWTI-0007GR-H0 for emacs-devel@gnu.org; Tue, 23 May 2006 08:58:48 -0400 Original-Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 7D835EF73; Tue, 23 May 2006 14:58:46 +0200 (CEST) Original-To: Nick Roberts X-Yow: I am having a pleasant time!! In-Reply-To: <17523.1473.953618.707854@kahikatea.snap.net.nz> (Nick Roberts's message of "Wed, 24 May 2006 00:53:21 +1200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) 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:55144 Archived-At: Nick Roberts writes: > Sorry, I'm thinking of the case where GDB is invoked with a different > executable on the second occasion (although there are problems even whe= n > the executable is the same, as Klaus pointed out). How about switching the buffer to fundamental-mode before continuing? That will wipe out all local variables, but lets you keep the contents. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different."