This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [8/9] multiple locations


 > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]