diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-08-27 20:58:27 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-08-27 20:58:27 +0000 |
commit | ec6f88920ba0f7b5be7492798312917d60b84c80 (patch) | |
tree | 2283b009add371441c9e08f326245985e16fdc8b | |
parent | e1507482f5e624c7fcc9d4365f75de6ae7d010e1 (diff) | |
download | gdb-ec6f88920ba0f7b5be7492798312917d60b84c80.zip gdb-ec6f88920ba0f7b5be7492798312917d60b84c80.tar.gz gdb-ec6f88920ba0f7b5be7492798312917d60b84c80.tar.bz2 |
* tuiIO.c (CTRL_CHAR): Redefine and use readline 4.3 definition.
-rw-r--r-- | gdb/tui/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/tui/tuiIO.c | 4 |
2 files changed, 8 insertions, 0 deletions
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 <stcarrez@nerim.fr> + + * tuiIO.c (CTRL_CHAR): Redefine and use readline 4.3 definition. + 2002-08-26 Stephane Carrez <stcarrez@nerim.fr> 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 <fcntl.h> #include <signal.h> +/* 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. |