all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushik Srenevasan <ksrenevasan@gmail.com>
To: Charles Tucker <cetucker@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Compatibility problem with emacs 24.1 / GDB 6.3.50?
Date: Wed, 13 Jun 2012 15:44:12 -0700	[thread overview]
Message-ID: <CACKyLS_0Od4JmbJApGkjJ7+VNv=dVzYY2195Bsd4__8RgFV1bg@mail.gmail.com> (raw)
In-Reply-To: <CAKgMwZrZx4dFXExnHPzevQXGu+bJnKG8Tcf-CCmfsDaQL1S_Ng@mail.gmail.com>

On Wed, Jun 13, 2012 at 3:13 PM, Charles Tucker <cetucker@gmail.com> wrote:
> Caveat: I'm running on OS X (which ships with emacs 22.1 and gdb 6.3.50).
> Newer versions grabbed / installed via Mac Homebrew, which may configure
> things funny.
>
> Filled with a desire to use more recent versions of tools, I've been using
> emacs 23.4 / gdb 6.3 successfully for a while now, but brew recently updated
> to emacs 24.1. The gdb mode under this new version spits out the following
> garbage output (spacing intact):
>
Emacs 24 uses the machine interface (MI) to talk to GDB. I don't think
GDB 6.3 has support for MI.
You can simply call Emacs' gdb function (M-x gdb) with the complete
path to your (newer) GDB installation (macports typically calls it
"ggdb" - /opt/bin/ggdb)

(gdb "/opt/bin/ggdb -i=mi [[ rest of the gdb command line ]]")

Note that -i=mi is what asks GDB to output MI commands that Emacs recognizes.

   -Kaushik



  reply	other threads:[~2012-06-13 22:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-13 22:13 Compatibility problem with emacs 24.1 / GDB 6.3.50? Charles Tucker
2012-06-13 22:44 ` Kaushik Srenevasan [this message]
     [not found]   ` <CAKgMwZrPtsJrEU9ecJWSKBTkACwetG_L9p5UBAhEnSqxLbgUFQ@mail.gmail.com>
2012-06-14 23:42     ` Kaushik Srenevasan
2012-06-14 23:54       ` chad
2012-06-15  2:04       ` Stefan Monnier

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='CACKyLS_0Od4JmbJApGkjJ7+VNv=dVzYY2195Bsd4__8RgFV1bg@mail.gmail.com' \
    --to=ksrenevasan@gmail.com \
    --cc=cetucker@gmail.com \
    --cc=emacs-devel@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.