From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29655 invoked by alias); 16 Nov 2007 20:37:14 -0000 Received: (qmail 29646 invoked by uid 22791); 16 Nov 2007 20:37:14 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 16 Nov 2007 20:37:08 +0000 Received: from kahikatea.snap.net.nz (204.63.255.123.dynamic.snap.net.nz [123.255.63.204]) by viper.snap.net.nz (Postfix) with ESMTP id 55F883DA16C; Sat, 17 Nov 2007 09:37:00 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 57D038FC6D; Sat, 17 Nov 2007 09:36:41 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18237.65367.974785.624775@kahikatea.snap.net.nz> Date: Fri, 16 Nov 2007 20:37:00 -0000 To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: [8/9] multiple locations In-Reply-To: <200711142238.06000.ghost@cs.msu.su> References: <18233.20228.172834.464875@kahikatea.snap.net.nz> <200711141047.03166.ghost@cs.msu.su> <18235.18919.959418.360780@kahikatea.snap.net.nz> <200711142238.06000.ghost@cs.msu.su> X-Mailer: VM 7.19 under Emacs 23.0.50.47 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00342.txt.bz2 > 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