From ec6f88920ba0f7b5be7492798312917d60b84c80 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Tue, 27 Aug 2002 20:58:27 +0000 Subject: * tuiIO.c (CTRL_CHAR): Redefine and use readline 4.3 definition. --- gdb/tui/ChangeLog | 4 ++++ gdb/tui/tuiIO.c | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'gdb/tui') diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog index 7062780..343151f 100644 --- a/gdb/tui/ChangeLog +++ b/gdb/tui/ChangeLog @@ -1,3 +1,7 @@ +2002-08-28 Stephane Carrez + + * tuiIO.c (CTRL_CHAR): Redefine and use readline 4.3 definition. + 2002-08-26 Stephane Carrez Fix PR gdb/393: diff --git a/gdb/tui/tuiIO.c b/gdb/tui/tuiIO.c index d664128..fe389af 100644 --- a/gdb/tui/tuiIO.c +++ b/gdb/tui/tuiIO.c @@ -59,6 +59,10 @@ #include #include +/* Use definition from readline 4.3. */ +#undef CTRL_CHAR +#define CTRL_CHAR(c) ((c) < control_character_threshold && (((c) & 0x80) == 0)) + /* This file controls the IO interactions between gdb and curses. When the TUI is enabled, gdb has two modes a curses and a standard mode. -- cgit v1.1