This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb vs readline, 1line patch


Emmanuel Thomé wrote:
> 
> The following patch should be added to gdb since it includes readline
> 4.1 ; diff is against stock 5.2.1
> 
> Starting with readline 4.2, this is no longer needed (it is possible as
> well to patch readline/readline.c to adopt readline's new behavior,
> which is using getenv if rl_terminal_name is unset).
> 
> Not setting rl_terminal_name results in non-working $if term= directives
> in .inputrc. ; this has been a long-standing bug in gdb for a while.
> 
> Cheers,
> 
> E. Thomé.

I can certainly see no harm in it.
Elena?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]