From patchwork Tue Aug 6 20:43:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 33980 Received: (qmail 54831 invoked by alias); 6 Aug 2019 20:43:43 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 54737 invoked by uid 89); 6 Aug 2019 20:43:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1406, german, sharp, German X-HELO: gateway31.websitewelcome.com Received: from gateway31.websitewelcome.com (HELO gateway31.websitewelcome.com) (192.185.144.91) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 06 Aug 2019 20:43:41 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway31.websitewelcome.com (Postfix) with ESMTP id 21C01103FA for ; Tue, 6 Aug 2019 15:43:40 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id v6J2hCdiZ2qH7v6J2hDSLB; Tue, 06 Aug 2019 15:43:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bT4BrzLjlJdqtu4Wv17rhjpFD7tGuKRSQWqJd8hOtm4=; b=uvr9TlroqTdvPuUFSIgwd1n4eu mVxo+n9AFI8ZVKNN8pNat8rOzIukkXMGma0gd2dBNnLj+Vnun0HKcnZWRMJlAA8VfXGtJQAUGXGkT GNSBwKbzSBEXpp5Ui1FFIUiPo; Received: from 97-122-178-82.hlrn.qwest.net ([97.122.178.82]:57414 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hv6J1-003V9n-Ql; Tue, 06 Aug 2019 15:43:39 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 3/8] Remove gdb workaround from readline/emacs_keymap.c Date: Tue, 6 Aug 2019 14:43:29 -0600 Message-Id: <20190806204334.13441-4-tom@tromey.com> In-Reply-To: <20190806204334.13441-1-tom@tromey.com> References: <20190806204334.13441-1-tom@tromey.com> 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. 2018-10-07 Tom Tromey * emacs_keymap.c: Remove gdb workaround. --- readline/ChangeLog.gdb | 4 ++++ readline/emacs_keymap.c | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/readline/emacs_keymap.c b/readline/emacs_keymap.c index 9f816581efa..cb6e140a217 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 */