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: emacs gdb layout Date: Tue, 20 Jan 2009 09:17:38 +1300 Message-ID: <18804.57314.483570.572349@kahikatea.snap.net.nz> References: <88e93bc9-8a11-48e0-8f59-b2cc964ba494@p36g2000prp.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: ger.gmane.org 1232398235 18248 80.91.229.12 (19 Jan 2009 20:50:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2009 20:50:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Ritchie Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 19 21:51:47 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 1LP162-00047s-As for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Jan 2009 21:51:46 +0100 Original-Received: from localhost ([127.0.0.1]:37535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LP14l-0000p3-7f for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Jan 2009 15:50:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LP14R-0000ok-TX for help-gnu-emacs@gnu.org; Mon, 19 Jan 2009 15:50:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LP14Q-0000oB-Im for help-gnu-emacs@gnu.org; Mon, 19 Jan 2009 15:50:07 -0500 Original-Received: from [199.232.76.173] (port=50381 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LP14Q-0000o4-Dv for help-gnu-emacs@gnu.org; Mon, 19 Jan 2009 15:50:06 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.23]:34495) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LP14P-0007Wq-Qu for help-gnu-emacs@gnu.org; Mon, 19 Jan 2009 15:50:06 -0500 Original-Received: from kahikatea.snap.net.nz (unknown [123.255.31.4]) by viper.snap.net.nz (Postfix) with ESMTP id 3A4EC2F4A3D; Tue, 20 Jan 2009 09:29:44 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 66A668FC6D; Tue, 20 Jan 2009 09:17:39 +1300 (NZDT) Original-Newsgroups: gnu.emacs.help In-Reply-To: <88e93bc9-8a11-48e0-8f59-b2cc964ba494@p36g2000prp.googlegroups.com> X-Mailer: VM 7.19 under Emacs 22.3.1 X-detected-operating-system: by monty-python.gnu.org: GNU/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:61478 Archived-At: Ritchie writes: > After start gdb inside emacs with option "--annotation=3 --fullname", The gdb option is "--annotate=3" so this wouldn't run at all. Gdb should start woth only one of these options and with M-x gdb it should be "--annotate=3" for the graphical interface. For text mode, i.e, like Emacs 21, use M-x gud-gdb which will give you "--fullname". > I ran gdb-many-windows to get the gdb layout which contains the local > variable buffer, stack frame buffer and breakpoint buffers. However > these buffers do not show anything as I run debugger. In order to get > local buffer to display local variable values, stack frame buffer to > display stack status and break point display current breakpoint info > as I run the debugger, what am I missing? I suggest uou read the debuggers section of the Emacs manual. -- Nick http://www.inet.net.nz/~nickrob