Andrei <[email protected]> writes: > The lldb(1) debugger was recently added in base and as I was playing around > with it I noticed the lack of line editing functionality. > > This is because currently lldb is built without support for > libedit. It would be nice to have libedit in base such to be able to > link lldb against it, as the lack of line editing functionality makes > it difficult to use.
libedit is in base and gnu/usr.bin/clang/lldb/Makefile even links lldb against libedit: : LDADD+= -lcurses -ledit -lpanel Curiously, trying to enable libedit support in lldb with the following patch didn't seem to help (arrow keys still show ^[[A and such). modified gnu/usr.bin/clang/include/lldb/Host/Config.h @@ -41,7 +41,7 @@ #define CURSES_HAVE_NCURSES_CURSES_H 0 -#define LLDB_ENABLE_LIBEDIT 0 +#define LLDB_ENABLE_LIBEDIT 1 #define LLDB_ENABLE_LIBXML2 0 Thanks Greg
