ddbg_gdb with emacs

Bill Baxter dnewsgroup at billbaxter.com
Wed Feb 28 17:21:14 PST 2007


Jascha Wetzel wrote:
> if it's just for these few changes - they will be in the next release.
> if i'll have to put a larger amount of work into the CLI issue, i'd
> really prefer implementing GDB/MI. besides the fact that something like
> GDB/MI is the most reasonable way to solve the problem, eclipse/cdt
> supports it as well.

I just had a bit of exchange with the GDB folks and gdb-mi.el author on 
the gdb mailing list.  Apparently gdb-mi.el is still under development 
and needs work.  And it also needs the latest bleeding edge gdb.  Well, 
version 6.6 anyway, which is newer than you can get from MinGW or Cygwin.

So I wasn't able to get the MI mode working in emacs.  But in theory it 
should work if you emulate what gdb 6.6 spits out.  And if not, then in 
theory it should work /eventually/ as more bugs are worked out of the 
emacs mode.

Unfortunately, since I haven't been able to confirm that gdb-mi mode 
works in emacs, that means I can't be a very useful tester of ddbg when 
it comes to emacs and gdb-MI emulation.  I can tell you if it works -- 
but if it doesn't work then it's just as likely to be a problem with the 
gdb-mi code as with your emulation.

--bb




More information about the Digitalmars-d-debugger mailing list