* tuiIO.c (CTRL_CHAR): Redefine and use readline 4.3 definition.
authorStephane Carrez <stcarrez@nerim.fr>
Tue, 27 Aug 2002 20:58:27 +0000 (20:58 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Tue, 27 Aug 2002 20:58:27 +0000 (20:58 +0000)
gdb/tui/ChangeLog
gdb/tui/tuiIO.c

index 70627806796a57e2260f6a79054682ea8acb8ca4..343151f9b448c562c3e75e9c0cf3553e7788f4ad 100644 (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:
index d664128ebd6e59480d49bb9bd5adc38379679a1f..fe389af28fe0e73f5a56977cbb87135867b8576a 100644 (file)
 #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.
This page took 0.025199 seconds and 4 git commands to generate.