gdb vs readline, 1line patch
Elena Zannoni
ezannoni@redhat.com
Sat Sep 14 16:32:00 GMT 2002
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. */
> >
>
More information about the Gdb-patches
mailing list