summaryrefslogtreecommitdiff
path: root/gdb/top.c
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
commit6051099def45cebe89059f39d9685b72ea12ad4a (patch)
tree38b25f30c8a6212f40534e8a3b47c92e13f42e0d /gdb/top.c
parentae88ced0349a165809d92ac10ebfa1760197b267 (diff)
downloadgdb-6051099def45cebe89059f39d9685b72ea12ad4a.tar.gz
2002-09-09 Elena Zannoni <ezannoni@redhat.com>
From: Emmanuel Thome' <thome@lix.polytechnique.fr> * top.c (init_main): Set rl_terminal_name.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/top.c b/gdb/top.c
index a2cee530c20..60c1bf9c3e0 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. */