From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.help Subject: Re: GUD buffer disappearing Date: Thu, 14 Jun 2007 23:26:52 +1200 Message-ID: <18033.9724.955648.433191@kahikatea.snap.net.nz> References: <1181812362.571474.172540@e9g2000prf.googlegroups.com> <1181815214.859997.248240@q19g2000prn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181820446 30054 80.91.229.12 (14 Jun 2007 11:27:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Jun 2007 11:27:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: David Reitter Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 14 13:27:24 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HynU0-0002d6-5a for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Jun 2007 13:27:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HynTz-0005he-9F for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Jun 2007 07:27:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HynTl-0005gk-L6 for help-gnu-emacs@gnu.org; Thu, 14 Jun 2007 07:27:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HynTk-0005gU-Uw for help-gnu-emacs@gnu.org; Thu, 14 Jun 2007 07:27:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HynTk-0005gR-Pe for help-gnu-emacs@gnu.org; Thu, 14 Jun 2007 07:27:04 -0400 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HynTj-0007WA-Se for help-gnu-emacs@gnu.org; Thu, 14 Jun 2007 07:27:04 -0400 Original-Received: from kahikatea.snap.net.nz (105.60.255.123.dynamic.snap.net.nz [123.255.60.105]) by viper.snap.net.nz (Postfix) with ESMTP id 0A4693D90B0; Thu, 14 Jun 2007 23:27:01 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 21DF88FBF6; Thu, 14 Jun 2007 23:26:54 +1200 (NZST) Original-Newsgroups: gnu.emacs.help In-Reply-To: <1181815214.859997.248240@q19g2000prn.googlegroups.com> X-Mailer: VM 7.19 under Emacs 22.1.50.1 X-detected-kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:45041 Archived-At: David Reitter writes: > On Jun 14, 10:12 am, Juanjo Garcia > wrote: > > > Namely, I open a program for debugging. The window splits and I see > > the main source file, but when I jump to a breakpoint and _another_ > > source file must be opened, the *gdb* buffer is replaced with the > > source file. That is very inconvenient, because I have to look for the > > *gdb* buffer to continue debugging. > > Have you tried to switch off `one-buffer-one-frame-mode'? This looks like an Aquamacs bug report and it's not clear to me: what does open a program for debugging mean? By default the main source file won't appear unless execution stops there. Anyway, assuming it is for Aquamacs, I can only make general observations unless it can be reproduced on Emacs: * Apple have their own version of Gdb, you need FSF Gdb (in Darwin, from Fink?) for this mode to fully work. * Sometimes you might indeed lose your window configuration but gdb-restore-windows (on the menu-bar) can often restore it. * It takes more practice to control all the buffers with this mode but gives you more control over you program when you can. * If you still don't like it you can get the old one by using the fullname option e.g by setting gud-gdb-command-name to "gdb --fullname". This old mode (i.e Emacs 21 style) probably works with Apple's Gdb. -- Nick http://www.inet.net.nz/~nickrob