aboutsummaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-10-07 15:25:44 -0600
committerTom Tromey <tom@tromey.com>2019-08-12 10:57:56 -0600
commita2d4e4b70945c1704e5249ad6a9be9d5875a4b0e (patch)
treeec1e6b4826c9dcafd4bb9acd21da4aa9d9c09377 /readline
parent57a2fe070226852b84eff8f37e49b367daa2a32f (diff)
downloadgdb-a2d4e4b70945c1704e5249ad6a9be9d5875a4b0e.zip
gdb-a2d4e4b70945c1704e5249ad6a9be9d5875a4b0e.tar.gz
gdb-a2d4e4b70945c1704e5249ad6a9be9d5875a4b0e.tar.bz2
Remove gdb workaround from readline/emacs_keymap.c
There is a gdb-local patch in readline/emacs_keymap.c that says: /* Temporary - this is a bug in readline 5.1 that should be fixed in readline 5.2. */ So, I think this can be removed now. I have no way to test this, as the patch was specific to mingw. readline/ChangeLog.gdb 2018-10-07 Tom Tromey <tom@tromey.com> * emacs_keymap.c: Remove gdb workaround.
Diffstat (limited to 'readline')
-rw-r--r--readline/ChangeLog.gdb4
-rw-r--r--readline/emacs_keymap.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb
index 7125d4d..cecdc5e 100644
--- a/readline/ChangeLog.gdb
+++ b/readline/ChangeLog.gdb
@@ -1,5 +1,9 @@
2019-08-12 Tom Tromey <tom@tromey.com>
+ * emacs_keymap.c: Remove gdb workaround.
+
+2018-08-12 Tom Tromey <tom@tromey.com>
+
* complete.c (get_y_or_n): Remove gdb workaround.
2018-08-12 Tom Tromey <tom@tromey.com>
diff --git a/readline/emacs_keymap.c b/readline/emacs_keymap.c
index 9f81658..cb6e140 100644
--- a/readline/emacs_keymap.c
+++ b/readline/emacs_keymap.c
@@ -277,13 +277,7 @@ KEYMAP_ENTRY_ARRAY emacs_standard_keymap = {
{ ISFUNC, rl_insert }, /* Latin capital letter Y with acute */
{ ISFUNC, rl_insert }, /* Latin capital letter thorn (Icelandic) */
{ ISFUNC, rl_insert }, /* Latin small letter sharp s (German) */
-#ifndef __MINGW32__
{ ISFUNC, rl_insert }, /* Latin small letter a with grave */
-#else
- /* Temporary - this is a bug in readline 5.1 that should be fixed in
- readline 5.2. */
- { ISFUNC, 0 }, /* Must leave this unbound for the arrow keys to work. */
-#endif
{ ISFUNC, rl_insert }, /* Latin small letter a with acute */
{ ISFUNC, rl_insert }, /* Latin small letter a with circumflex */
{ ISFUNC, rl_insert }, /* Latin small letter a with tilde */