summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-09-09 21:03:26 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-09-09 21:03:26 +0000
commit7cb3ec5e738dd1d73d041066e68e2093fe2b7627 (patch)
treefcfa4beaaf001f7555c518168a73499f501e793a
parentcf57480a005d16dff07ec02c142fb3bc75e071b6 (diff)
downloadppe42-binutils-7cb3ec5e738dd1d73d041066e68e2093fe2b7627.tar.gz
ppe42-binutils-7cb3ec5e738dd1d73d041066e68e2093fe2b7627.zip
2002-09-09 Elena Zannoni <ezannoni@redhat.com>
From: Emmanuel Thome' <thome@lix.polytechnique.fr> * top.c (init_main): Set rl_terminal_name.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/top.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 24e04b8c9d..07c94123bc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-09 Elena Zannoni <ezannoni@redhat.com>
+
+ From: Emmanuel Thome' <thome@lix.polytechnique.fr>
+ * top.c (init_main): Set rl_terminal_name.
+
2002-09-08 Aidan Skinner <aidan@velvet.net>
* ada-lang.c (ada_array_bound, ada_type_match,
diff --git a/gdb/top.c b/gdb/top.c
index a2cee530c2..60c1bf9c3e 100644
--- 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. */
OpenPOWER on IntegriCloud