hanchenye-llvm-project/lldb/utils/emacs
Johnny Chen 0e65ce3de8 Add readme on the version of emacs that works with lldb-enhanced gud.el,
for Stuart Hastings. :-)

llvm-svn: 126469
2011-02-25 01:51:25 +00:00
..
README Add readme on the version of emacs that works with lldb-enhanced gud.el, 2011-02-25 01:51:25 +00:00
gud.el The recent change in argument parsing is messing up the emacs lldb mode's capability to properly 2010-12-20 22:58:58 +00:00
lldb-gud-window.png Compress screenshot. 2010-10-30 08:27:07 +00:00

README

The lldb-enhanced gud.el is based on the emacs 22.3.1 version from Aquamacs 1.8c
distribution.

To use it, load the file from within emacs and type 'M-x lldb' to invoke lldb.

The lldb-gud-window.png is a screen capture of the gud (with lldb) at work on
Aquamacs distribution 2.1 by loading the gud.el in this directory and 'M-x lldb'
on the ../../test/condition_break directory.

--------------------------------------------------------------------------------

Versions of emacs that do not work:

o This lldb-enhanced gud.el does not work on emacs 22.1.1 (dumb terminal).  This
is the error I got:

Debugger entered--Lisp error: (void-function split-string-and-unquote)
  (split-string-and-unquote command-line)
  (let* ((words ...) (program ...) (dir default-directory) (file-word ...) (file-subst ...) (args ...) (file ...) (filepart ...) (existing-buffer ...)) (pop-to$
  gud-common-init("/Volumes/data/lldb/svn/trunk/build/Debug/lldb" nil gud-lldb-marker-filter)
  lldb("/Volumes/data/lldb/svn/trunk/build/Debug/lldb")
  call-interactively(lldb)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

The gud-common-init elisp function references split-string-and-unquote function
which is not defined there.

--------------------------------------------------------------------------------

Versions of emacs that do work (with minimal testing):

o I downloaded the Emacs Version 23.2 (Released 2010-05-08) from http://emacsformacosx.com/,
ran it with "/Volumes/data/Applications/Emacs.app/Contents/MacOS/Emacs -nw" (as a dumb terminal
application), loaded the gud.el file, cd to test/breakpoint_condition, and M-x lldb to run my
built lldb against the a.out executable, it seems to work ok.