]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove gdb workaround from readline/emacs_keymap.c
authorTom Tromey <tom@tromey.com>
Sun, 7 Oct 2018 21:25:44 +0000 (15:25 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 12 Aug 2019 16:57:56 +0000 (10:57 -0600)
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.

readline/ChangeLog.gdb
readline/emacs_keymap.c

index 7125d4d43fb687db773dc1ccf1d2ae2d6f9e9e44..cecdc5ed9acb905c89e143fef36eb44c9ad64c76 100644 (file)
@@ -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>
index 9f816581efac978fa7122504e24026e914c4feb2..cb6e140a2175ac38a14ed95b1ef4691294789163 100644 (file)
@@ -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 */