all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs and Gud
Date: Sun, 6 Jan 2008 19:15:37 +1300	[thread overview]
Message-ID: <18304.29193.761354.165070@kahikatea.snap.net.nz> (raw)

> > 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

             reply	other threads:[~2008-01-06  6:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-06  6:15 Nick Roberts [this message]
     [not found] <mailman.5784.1199600161.18990.help-gnu-emacs@gnu.org>
2008-01-07  1:00 ` Emacs and Gud Chris Gordon-Smith
2008-01-07  3:41   ` Nick Roberts
     [not found]   ` <mailman.5807.1199677314.18990.help-gnu-emacs@gnu.org>
2008-01-07 22:28     ` Chris Gordon-Smith
2008-01-08  0:08       ` Nick Roberts
     [not found]       ` <mailman.5869.1199754671.18990.help-gnu-emacs@gnu.org>
2008-01-08 23:27         ` Chris Gordon-Smith
2008-01-15 15:54           ` Sebastian Tennant
  -- strict thread matches above, loose matches on Subject: below --
2008-01-05  9:55 Chris Gordon-Smith
2008-01-05 11:01 ` Nick Roberts
     [not found] ` <mailman.5756.1199530919.18990.help-gnu-emacs@gnu.org>
2008-01-05 12:36   ` Chris Gordon-Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18304.29193.761354.165070@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.