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: Elena Zannoni <ezannoni at redhat dot com>
- To: Andrew Cagney <ac131313 at ges dot redhat dot com>
- Cc: Elena Zannoni <ezannoni at redhat dot com>,Emmanuel Thomé <thome at lix dot polytechnique dot fr>,gdb-patches at sources dot redhat dot com
- Date: Sat, 14 Sep 2002 19:30:58 -0400
- Subject: Re: gdb vs readline, 1line patch
- References: <20020827153536.A1259@hebus.polytechnique.fr><15741.3313.508136.659703@localhost.redhat.com><3D824BE0.7040902@ges.redhat.com>
Andrew Cagney writes:
>
> > I have committed the following. I think this should also be added to
> > the 5.3 branch. Yes? After all we are going to merge readline in
> > mainline really soon now, and it won't matter there, but the branch
> > could use the fix.
>
>
> Yes, definitly for 5.3 branch.
>
> Andrew
>
Ok, done.
Elena
>
> > 2002-09-09 Elena Zannoni <ezannoni@redhat.com>
> >
> > From: Emmanuel Thome' <thome@lix.polytechnique.fr>
> > * top.c (init_main): Set rl_terminal_name.
> >
> > Index: top.c
> > ===================================================================
> > RCS file: /cvs/uberbaum/gdb/top.c,v
> > retrieving revision 1.66
> > diff -u -p -r1.66 top.c
> > --- top.c 18 Aug 2002 12:39:03 -0000 1.66
> > +++ top.c 9 Sep 2002 20:38:12 -0000
> > @@ -1957,6 +1957,7 @@ init_main (void)
> > get_gdb_completer_word_break_characters ();
> > rl_completer_quote_characters = get_gdb_completer_quote_characters ();
> > rl_readline_name = "gdb";
> > + rl_terminal_name = getenv ("TERM");
> >
> > /* The name for this defun comes from Bash, where it originated.
> > 15 is Control-o, the same binding this function has in Bash. */
> >
>