all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* GDB/MI doesn't work in GUD/GDB
@ 2010-02-18 20:34 Nordlöw
  2010-02-18 21:06 ` Nick Roberts
  0 siblings, 1 reply; 2+ messages in thread
From: Nordlöw @ 2010-02-18 20:34 UTC (permalink / raw
  To: help-gnu-emacs

I can't get GDB/MI support in gud in latest Emacs Bzr to work.
Shouldn't this be ready by now? How will my Emacs-GUD-GDB experience
when I get this to work?

When I try using M-x gdb as "gdb -i=mi -f FILE"

I get a window containing

Current directory is ~/pnw/pnware/
~"GNU gdb (GDB) 7.0-ubuntu\n"
~"Copyright (C) 2009 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
gpl.html>\n"
~"This is free software: you are free to change and redistribute it.
\n"
~"There is NO WARRANTY, to the extent permitted by law.  Type \"show
copying\"\n"
~"and \"show warranty\" for details.\n"
~"This GDB was configured as \"i486-linux-gnu\".\n"
~"For bug reporting instructions, please see:\n"
~"<http://www.gnu.org/software/gdb/bugs/>...\n"
~"Reading symbols from /home/per/pnw/pnware/t_chash..."
~"done.\n"
(gdb)

but when I do gud-run nothing happens...

Thanks,
Nordlöw


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GDB/MI doesn't work in GUD/GDB
  2010-02-18 20:34 GDB/MI doesn't work in GUD/GDB Nordlöw
@ 2010-02-18 21:06 ` Nick Roberts
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Roberts @ 2010-02-18 21:06 UTC (permalink / raw
  To: Nordlöw; +Cc: help-gnu-emacs

Nordlöw writes:
 > I can't get GDB/MI support in gud in latest Emacs Bzr to work.
 > Shouldn't this be ready by now? How will my Emacs-GUD-GDB experience
 > when I get this to work?
 > 
 > When I try using M-x gdb as "gdb -i=mi -f FILE"

M-x gdb in the bzr repository doesn't currently use MI so you must have old
files or edited the command line or customised gud-gdb-command-name.  I
reverted changes so that Emacs 23.2 will use annotations again.  This provides
reverse debugging and display of STL containers as watch expressions.  When
branches are made in the bzr repository, the MI stuff will go back on one of
these to allow concurrent development.  Long term goal is to use MI.

-- 
Nick                                           http://users.snap.net.nz/~nickrob




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-18 21:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 20:34 GDB/MI doesn't work in GUD/GDB Nordlöw
2010-02-18 21:06 ` Nick Roberts

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.