[lldb-dev] Command history line editing

Ted Woodward via lldb-dev lldb-dev at lists.llvm.org
Wed Mar 7 12:26:49 PST 2018


There is - editline.

 

http://thrysoee.dk/editline/

 

 

--

Qualcomm Innovation Center, Inc.

The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

 

From: William Schmidt [mailto:t.william.schmidt at gmail.com] 
Sent: Wednesday, March 07, 2018 1:34 PM
To: paul.robinson at sony.com
Cc: ted.woodward at codeaurora.org; jan.kratochvil at redhat.com; lldb-dev at lists.llvm.org
Subject: Re: [lldb-dev] Command history line editing

 

readline has been around for donkeys' years. I was hacking it in MKSToolkit back in the nineties. That implementation had a bug that hosed the debugger's command line and a shell work-around to resolve it. Presumably, there must be a clean-room version of readline somewhere that does not use GPL? bash owns the command line so applications should mimic its behavior, or at least offer a user-selectable option. Say, either emacs or vi editing modes, as bash itself does.

 

Will








 

On Wed, Mar 7, 2018 at 11:53 AM, <paul.robinson at sony.com <mailto:paul.robinson at sony.com> > wrote:

> -----Original Message-----
> From: lldb-dev [mailto:lldb-dev-bounces at lists.llvm.org <mailto:lldb-dev-bounces at lists.llvm.org> ] On Behalf Of Ted
> Woodward via lldb-dev
> Sent: Wednesday, March 07, 2018 9:40 AM
> To: 'Jan Kratochvil'; 'William Schmidt'; lldb-dev at lists.llvm.org <mailto:lldb-dev at lists.llvm.org> 
> Subject: Re: [lldb-dev] Command history line editing
>
> It's not just Apple that avoids GPL. Many LLVM users cannot use GPL.
> Adding GPL code to LLDB is a non-starter.

License questions need to be cleared with the LLVM Foundation.
But my non-lawyer understanding is no GPL.
--paulr

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20180307/4bfd428a/attachment.html>


More information about the lldb-dev mailing list