]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2002-09-14 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Sat, 14 Sep 2002 23:32:00 +0000 (23:32 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Sat, 14 Sep 2002 23:32:00 +0000 (23:32 +0000)
  From: Emmanuel Thome'  <thome@lix.polytechnique.fr>
  * top.c (init_main): Set rl_terminal_name.

gdb/ChangeLog
gdb/top.c

index f8252f21ff2619bb1b753dd792c07a63deeda196..88e306aba4658215677e6757c0334148ce6b0737 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-14  Elena Zannoni  <ezannoni@redhat.com>
+       From: Emmanuel Thome'  <thome@lix.polytechnique.fr>
+       * top.c (init_main): Set rl_terminal_name.
+
 2002-09-10  Andrew Cagney  <cagney@redhat.com>
 
        * infcmd.c (default_print_registers_info): Send all output to
index a2cee530c20be5e84f2318d6159d33b738f5ef83..60c1bf9c3e08e5e7774bd55f4efa99f55e0487c3 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -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.  */