On 11/1/14, 11:27 AM, Pedro Alves wrote:
> Hey there,
>
> I'm pondering how to make GDB have multiple open command line
> consoles simultaneously, each with its own history, with fully
> functional GDB command completion, etc.
>
> Was there ever any attempt at making it possible to have multiple
> instances of readline in the same process?
There hasn't been any effort to make readline thread-aware or thread-
safe. There aren't really any users to test the current behavior and
improve it. As you noted, rl_{save,restore}_state is a step in that
direction, but nobody uses it.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline