From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: emacs gdb layout Date: Tue, 20 Jan 2009 10:29:50 +0100 Organization: A noiseless patient Spider Message-ID: References: <88e93bc9-8a11-48e0-8f59-b2cc964ba494@p36g2000prp.googlegroups.com> <40829af1-80e7-42fe-8599-10470492135a@f40g2000pri.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232444489 11080 80.91.229.12 (20 Jan 2009 09:41:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2009 09:41:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 20 10:42:41 2009 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 1LPD82-0005nz-9G for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jan 2009 10:42:38 +0100 Original-Received: from localhost ([127.0.0.1]:58303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPD6l-000146-2d for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jan 2009 04:41:19 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-X-Trace: news.eternal-september.org U2FsdGVkX1+WS5+PBNrZmJasb5lkMqbRorevkY9WHx4DzKpg0X4vDslYjSyPpdqNoWjIVAzWwXxVZLNvMNG6KziV7CMnheTKVegRH839ilws7WGP8ylQuju7krY497H0Xund0G+Qj+cGmg8sTBOD+g== Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Tue, 20 Jan 2009 09:29:49 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19/vhh3GD706J+rNpDJtmQWGCGUs1qrE+1/ruyaIXGmZQ== Cancel-Lock: sha1:WbruhfD4PKR8+yzkTjP54S996NE= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:166167 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:61491 Archived-At: Ritchie writes: >> After start gdb inside emacs with option "--annotation=3 --fullname", > > Sorry, that was a typo, what I had in my .emacs originally was > (setq gud-gdb-command-name "gdb --annotate=3 --fullname") > which I think is correct. > > The version I'm using is Carbon Emacs (emacs 22) > >> I suggest uou read the debuggers section of the Emacs manual. > > I read the manual, but it didn't work out very well. The manual says > "If gdb-many-windows is non-nil, then M-x gdb displays the following > frame layout " > > but when I have the following lines in my .emacs: > > (setq gdb-many-windows t) > (setq gdb-use-separate-io-buffer t) > > and run M-x gdb, i still just get the simple layout. I have to bring > out the default > frame layout by giving another two M-x gdb-many-windows. The first one > is to > disable it, the second one is to enable it again, and then the frame > layout will > show up. So I just remove the (setq gdb-many-windows t) from .emacs, > and > run it manually everytime after I start gdb. Try cleaning everything out. (caveat, I use emacs 23 ut I'm fairly sure it worked in Emacs 22 like this too). I, using the code from here : http://richardriley.net/default/projects/emacs/dotprogramming#sec-1.2 run gdb which then prompts (search for f12) "gdb --annotate=3 progname" And I get something like: http://richardriley.net/default/projects/images/gud.png good luck!