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 and Gud Date: Sun, 6 Jan 2008 19:15:37 +1300 Message-ID: <18304.29193.761354.165070@kahikatea.snap.net.nz> 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 1199600185 15583 80.91.229.12 (6 Jan 2008 06:16:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 06:16:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 06 07:16:45 2008 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 1JBOoP-0007vu-B3 for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Jan 2008 07:16:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBOo2-0002oe-BY for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Jan 2008 01:16:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBOne-0002oH-SA for help-gnu-emacs@gnu.org; Sun, 06 Jan 2008 01:15:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBOnc-0002ng-9P for help-gnu-emacs@gnu.org; Sun, 06 Jan 2008 01:15:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBOnc-0002nY-1g for help-gnu-emacs@gnu.org; Sun, 06 Jan 2008 01:15:56 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBOnb-0000iq-IY for help-gnu-emacs@gnu.org; Sun, 06 Jan 2008 01:15:55 -0500 Original-Received: from kahikatea.snap.net.nz (76.60.255.123.dynamic.snap.net.nz [123.255.60.76]) by viper.snap.net.nz (Postfix) with ESMTP id 3F5C43DA406 for ; Sun, 6 Jan 2008 19:15:43 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id D72438FC6D; Sun, 6 Jan 2008 19:15:38 +1300 (NZDT) X-Mailer: VM 7.19 under Emacs 23.0.50.24 X-detected-kernel: by monty-python.gnu.org: 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:50522 Archived-At: > > Before Googling, it would be a good idea to read the Emacs manual. > > Assuming that you have Emacs 22.1 there is a whole section for the GDB > > Graphical Interface. > Yes - That's what Google found You shouldn't have to use Google as the Emacs manual is included in the Emacs tarball, so it should be on your system unless Suse package documentation separately like Debian. > ... > It says:- > Run gdb (like this): > gdb /home/chris/mydata/Projects/SimSoup/simsoup-cpp/simsoup/simsoup That's odd because Emacs 21.x looked like this but Emacs 22.1 should look like: Run gdb (like this): gdb --annotate=3 /home/chris/mydata/Projects/SimSoup/simsoup-cpp/simsoup/simsoup > simsoup is the name of my program. Hitting enter starts gdb, but only in > text mode. > Since my original posting I have found that if I don't load ECB, then > graphical debugging works. However, I would like to be able to use both ECB > and graphical debugging. Any thoughts? I've not used ECB but I have read a comment in ecb-compatibility.el that says that gdb-ui.el's use of dedicated windows might conflict with ECB's so it's possible that they have configured Emacs to just use text mode. However, even in this case Emacs 22.1 should look like this: Run gdb (like this): gdb --fullname /home/chris/mydata/Projects/SimSoup/simsoup-cpp/simsoup/simsoup or this: Run gdb (like this): gdb --annotate=1 /home/chris/mydata/Projects/SimSoup/simsoup-cpp/simsoup/simsoup What value does gud-gdb-command-name have? -- Nick http://www.inet.net.nz/~nickrob