X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gdb-readline.patch;h=4022b63e343a37575c534bcc6418ab3eb46d5326;hb=3af5402e26bd3225409007165c882b37cd495e49;hp=ef1ca51e8eb2529e0b6e995b8315a4d4859085f4;hpb=ffae5eeb71da9c2ac270eefecdbfb3915bacf2eb;p=packages%2Fgdb.git diff --git a/gdb-readline.patch b/gdb-readline.patch index ef1ca51..4022b63 100644 --- a/gdb-readline.patch +++ b/gdb-readline.patch @@ -174,3 +174,38 @@ diff -ur gdb-6.7.org/Makefile.in gdb-6.7/Makefile.in all-sim: maybe-configure-gdb all-fastjar: maybe-all-zlib all-fastjar: maybe-all-build-texinfo +--- gdb-6.8.50.20090224/gdb/tui/tui-io.c~ 2009-02-24 09:17:18.617891690 +0100 ++++ gdb-6.8.50.20090224/gdb/tui/tui-io.c 2009-02-24 09:17:43.554606911 +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. */