[8/9] multiple locations

Nick Roberts nickrob@snap.net.nz
Fri Nov 16 20:37:00 GMT 2007


 > Is there a way to package MI support separately, so that every existing Emacs
 > user can try it?

I was forgetting.  There is gdb-mi.el, which is in the GDB CVS repository, in
the mi directory) that piggybacks on the files used in Emacs 22.1 (gud.el and
gdb-ui.el).

If you load this file, or put something like:

(autoload 'gdbmi "~/src/gdb/mi/gdb-mi" "MI version of M-x gdb." t)
(setq gud-gdbmi-command-name "~/src/build/gdb/gdb -interp=mi")

in your .emacs, then do:

M-x gdbmi

GDB starts up using MI:

Run gdbmi (like this): ~/src/build/gdb/gdb -interp=mi ~/myprog

I doubt that gdb-mi.el has been distributed with binary RPMs for GDB, so it
probably requires GDB in CVS.  It's only really of relevant to someone
interested in developing the mode, and the only correspondence I've had about
it so far has been from someone wanting to write a frontend for D!


-- 
Nick                                           http://www.inet.net.nz/~nickrob



More information about the Gdb-patches mailing list