* tuiIO.c (CTRL_CHAR): Redefine and use readline 4.3 definition.

This commit is contained in:
Stephane Carrez 2002-08-27 20:58:27 +00:00
parent e1507482f5
commit ec6f88920b
2 changed files with 8 additions and 0 deletions

View file

@ -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:

View file

@ -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.