From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nickrob@snap.net.nz (Nick Roberts) Newsgroups: gmane.emacs.help Subject: gud settings Date: Mon, 28 Dec 2009 12:41:52 +1300 Message-ID: <19255.61632.613571.776387@totara.tehura.co.nz> References: 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 1261957352 19648 80.91.229.12 (27 Dec 2009 23:42:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Dec 2009 23:42:32 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: andrea.crotti.0@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 28 00:42:25 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 1NP2ki-0005FK-87 for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Dec 2009 00:42:24 +0100 Original-Received: from localhost ([127.0.0.1]:39071 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NP2ki-0006wv-CO for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Dec 2009 18:42:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NP2kO-0006wT-3j for help-gnu-emacs@gnu.org; Sun, 27 Dec 2009 18:42:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NP2kJ-0006vS-BG for help-gnu-emacs@gnu.org; Sun, 27 Dec 2009 18:42:03 -0500 Original-Received: from [199.232.76.173] (port=37472 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NP2kJ-0006vP-8m for help-gnu-emacs@gnu.org; Sun, 27 Dec 2009 18:41:59 -0500 Original-Received: from mail10.snap.net.nz ([202.37.101.41]:47183 helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NP2kJ-0002mI-3V for help-gnu-emacs@gnu.org; Sun, 27 Dec 2009 18:41:59 -0500 Original-Received: from totara (178.61.255.123.dynamic.snap.net.nz [123.255.61.178]) by viper.snap.net.nz (Postfix) with ESMTP id B44B93DA6EC; Mon, 28 Dec 2009 12:41:53 +1300 (NZDT) Original-Received: by totara (Postfix, from userid 1000) id A1B53C167; Mon, 28 Dec 2009 12:41:52 +1300 (NZDT) In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.2.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:70895 Archived-At: > I was trying to use gud (I need at least gdb and pdb) but I'm not able > to abilitate the multi-window setting. gdb-many-windows only works with M-x gdb > I've set up the variables > --8<---------------cut here---------------start------------->8--- > (setq gdb-many-windows t) > (setq gdb-show-main t) > --8<---------------cut here---------------end--------------->8--- > > But nothing, I only see one buffer... > I've found many nice things on the net but I'm not able to get even the > basic things working.. You give no clues, not even the version of Emacs that you are using. It must be at least Emacs 22.1 and you mustn't delete the option "--annotate=3" from: Run gdb (like this): gdb --annotate=3 myprog I suggest you read the section on "Debuggers" in the Emacs manual. -- Nick http://users.snap.net.nz/~nickrob