* Compatibility problem with emacs 24.1 / GDB 6.3.50?
@ 2012-06-13 22:13 Charles Tucker
2012-06-13 22:44 ` Kaushik Srenevasan
0 siblings, 1 reply; 5+ messages in thread
From: Charles Tucker @ 2012-06-13 22:13 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 1465 bytes --]
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):
Current directory is ~/
GNU gdb 6.3.50-20050815 (Apple version gdb-1752) (Sat Jan 28 03:02:46 UTC
2012)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".
(gdb)
(gdb)
time={wallclock="0.00002",user="0.00001",system="0.00000",start="1339625472.009357",end="1339625472.009373"}
Where is this new output coming from? It looks like it might be debugging
output from gdb-mode, but that's a guess.
I also tried solving the problem by running a more recent version of gdb
(again, through Homebrew), but I've yet to figure out how emacs selects
which gdb executable for "M-x gdb" to run.
--
-Charles
:(){:|:&};:
[-- Attachment #2: Type: text/html, Size: 1939 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compatibility problem with emacs 24.1 / GDB 6.3.50?
2012-06-13 22:13 Compatibility problem with emacs 24.1 / GDB 6.3.50? Charles Tucker
@ 2012-06-13 22:44 ` Kaushik Srenevasan
[not found] ` <CAKgMwZrPtsJrEU9ecJWSKBTkACwetG_L9p5UBAhEnSqxLbgUFQ@mail.gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Kaushik Srenevasan @ 2012-06-13 22:44 UTC (permalink / raw)
To: Charles Tucker; +Cc: emacs-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-06-15 2:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-13 22:13 Compatibility problem with emacs 24.1 / GDB 6.3.50? Charles Tucker
2012-06-13 22:44 ` Kaushik Srenevasan
[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
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.