36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
--- gdb/tui/tui-io.c.orig 2009-03-10 11:34:01.000000000 +0100
|
|
+++ gdb/tui/tui-io.c 2009-03-10 11:34:45.000000000 +0100
|
|
@@ -512,7 +512,7 @@
|
|
void
|
|
tui_setup_io (int mode)
|
|
{
|
|
- extern int readline_echoing_p;
|
|
+ extern int _rl_echoing_p;
|
|
|
|
if (mode)
|
|
{
|
|
@@ -522,12 +522,12 @@
|
|
tui_old_rl_prep_terminal = rl_prep_term_function;
|
|
tui_old_rl_getc_function = rl_getc_function;
|
|
tui_old_rl_outstream = rl_outstream;
|
|
- tui_old_readline_echoing_p = readline_echoing_p;
|
|
+ tui_old_readline_echoing_p = _rl_echoing_p;
|
|
rl_redisplay_function = tui_redisplay_readline;
|
|
rl_deprep_term_function = tui_deprep_terminal;
|
|
rl_prep_term_function = tui_prep_terminal;
|
|
rl_getc_function = tui_getc;
|
|
- readline_echoing_p = 0;
|
|
+ _rl_echoing_p = 0;
|
|
rl_outstream = tui_rl_outstream;
|
|
rl_prompt = 0;
|
|
rl_completion_display_matches_hook = tui_rl_display_match_list;
|
|
@@ -564,7 +564,7 @@
|
|
rl_getc_function = tui_old_rl_getc_function;
|
|
rl_outstream = tui_old_rl_outstream;
|
|
rl_completion_display_matches_hook = 0;
|
|
- readline_echoing_p = tui_old_readline_echoing_p;
|
|
+ _rl_echoing_p = tui_old_readline_echoing_p;
|
|
rl_already_prompted = 0;
|
|
|
|
/* Save tty for SIGCONT. */
|