Previous: MIXAL mode, Up: Emacs tools


4.2 GUD integration

If you are an Emacs user and write your MIXAL programs using this editor, you will find the elisp program mixvm.el quite useful1. mixvm.el allows running the MIX virtual machine mixvm (see mixvm) inside an Emacs GUD buffer, while visiting the MIXAL source file in another buffer.

After installing mixvm.el (see Emacs support), you can initiate an mdk/GUD session inside Emacs with the command

     M-x mixvm

and you will have a mixvm prompt inside a newly created GUD buffer. GUD will reflect the current line in the corresponding source file buffer.


Footnotes

[1] mixvm.el has been kindly contributed by Philip E. King. mixvm.el is based on a study of gdb, perldb, and pdb as found in gud.el, and rubydb3x.el distributed with the source code to the Ruby language.