This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: gdb vs readline, 1line patch
- From: Michael Snyder <msnyder at redhat dot com>
- To: Emmanuel Thomé <thome at lix dot polytechnique dot fr>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 28 Aug 2002 13:33:22 -0700
- Subject: Re: gdb vs readline, 1line patch
- Organization: Red Hat, Inc.
- References: <20020827153536.A1259@hebus.polytechnique.fr>
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?