Message ID | cover.1730303479.git.aburgess@redhat.com |
---|---|
Headers |
Return-Path: <gdb-patches-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 64F253857820 for <patchwork@sourceware.org>; Wed, 30 Oct 2024 15:54:14 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 4272E385828E for <gdb-patches@sourceware.org>; Wed, 30 Oct 2024 15:53:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4272E385828E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4272E385828E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730303624; cv=none; b=OhDT8cnanZ9p0q8dlORWRkyHUcrPC/Tp0YjnAWbW3UBBeEZX+o4tnc60QeEyMqfgMIM3kFn+Qf1fgCgEtnkoTcxLB4CmAbToprzXh4jlfL16PHYfxWlLvjy8aQtb/FKsaeKGTc67J+YuARyi7RlhMlPP/sey5oaSWY/uKqAW9Ow= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730303624; c=relaxed/simple; bh=jSpvFUZ0QGNfhtIih8edzsmndn514ehMFVGMZksrHkc=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=ZGRp9bhj75oA3FR8Dvot6MD3sfzB6NOSwt4JeWyKX3gD5+dEsxXuHXTfvo3xwt+3jNecp2tr6LLiYXKX5cd+xosIqNrRf1x2WeUvPcRLbA+9UhO4oxM23LAZgZpQKg8B9Kz36zdIN1652GxIpnemv/mZQHVTtT7AsQlMjpVO1CE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1730303621; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E9qsNySaIq+Sr8maRSZ/1w9zL9x6GTuDreXT9IgoX9U=; b=E/aDZYA1XQZMcdmneJf+OoaJOMZYPw1hkvNtqZKnsPbdVxIUXaOB2D7vwxpoUk27x2w5Bt d24d6WVQ3ozQJBmTwznlM9GAW18/xgcordOhDRI/mKC9XSAum5uIJpSpxW3D96HXZ9pRnl 1ZxV+J/xQPX26NdoZoQ4Vv+/ttAkk6I= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-617-JCpYpXo3PTuE7Bzi4015Qg-1; Wed, 30 Oct 2024 11:53:39 -0400 X-MC-Unique: JCpYpXo3PTuE7Bzi4015Qg-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-431518e6d8fso46763015e9.0 for <gdb-patches@sourceware.org>; Wed, 30 Oct 2024 08:53:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730303618; x=1730908418; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=E9qsNySaIq+Sr8maRSZ/1w9zL9x6GTuDreXT9IgoX9U=; b=b2FZE6VgCf8PXyeOWwagEMm/w/Hb3FVS5fwkAsusmkehQ1fzKqO9JL2Pb/4j4C8nef XqjdBWgybinoAjFVBi4DPPRSPZoYWmIsdvCHZ4/1doa6Zdso/Q2vW3iJUHjVr0q/hm+Z IqWkTGhPaoD5H6NC6ce9hvlGDDwvMdpPs+Mi3GHuTWkHLE0nd4ucnDhYrmWNGqcO5ShV JR1i18x73T070bK6LSJuon8VJqQ/DrAPntJw6avCAkF+l/Ym7Wp0sBsNwVZONNX0RHVU n7OH47KNl3aOQpfVuSTbjXnrggcNXUKfpg1nHf/xQZ2Cqa1IDmxrJiz050SwB8UYdHK4 VMsQ== X-Gm-Message-State: AOJu0Yz6clapOvnPrXu75Y//5gjCdzhMR3IwMsr29Je6+y1FZWiIKZZ3 bDnAMDTr//DNbwA45c+QwJuHQy/x0NXfevt8rVU5j4XCUNGzOvPp2ohejc8CcR/SnAhTBzACHnX nn/ARRKTHzZsfo9H5euqEDOpZyAf44rXQ+q/nYZlczHNQCJUPRoFgbQTWiSGHAAOEc28cIaQSJ6 yj1vqXlIJiDRQVye3SPmRLm1HKyiYYo/7ymuuts5uA/DY= X-Received: by 2002:a05:600c:46c3:b0:426:6e86:f82 with SMTP id 5b1f17b1804b1-4319ad15498mr142505725e9.22.1730303618332; Wed, 30 Oct 2024 08:53:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEJCa0BTqCg5Z154t8fXDqs2nwYYugyWzev4/ZU26g5A9sX5C/g15qKubbeDFpPFHBUaC+gMA== X-Received: by 2002:a05:600c:46c3:b0:426:6e86:f82 with SMTP id 5b1f17b1804b1-4319ad15498mr142505475e9.22.1730303617882; Wed, 30 Oct 2024 08:53:37 -0700 (PDT) Received: from localhost (197.209.200.146.dyn.plus.net. [146.200.209.197]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-431bd9a9fb9sm25511795e9.33.2024.10.30.08.53.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 08:53:37 -0700 (PDT) From: Andrew Burgess <aburgess@redhat.com> To: gdb-patches@sourceware.org Cc: Andrew Burgess <aburgess@redhat.com> Subject: [PATCH 0/2] Fis for readline eof and secondary prompt issue Date: Wed, 30 Oct 2024 15:53:33 +0000 Message-Id: <cover.1730303479.git.aburgess@redhat.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org |
Series |
Fis for readline eof and secondary prompt issue
|
|
Message
Andrew Burgess
Oct. 30, 2024, 3:53 p.m. UTC
In a review for another patch on the mailing list, Keith pointed out a readline issue that was causing weird extra blank lines. This turned out to have nothing to do with my patch, but is a general readline issue. This commit proposes a work around. Separately I have posted a patch for readline to address this issue. Thanks, Andrew --- Andrew Burgess (2): gdb/readline: new 'maint info readline' command gdb/readline: don't get stuck thinking an EOF arrived gdb/NEWS | 3 + gdb/doc/gdb.texinfo | 16 +++ gdb/event-top.c | 44 ++++++ gdb/testsuite/gdb.base/maint.exp | 3 + .../gdb.base/readline-commands-eof.c | 22 +++ .../gdb.base/readline-commands-eof.exp | 128 ++++++++++++++++++ gdb/testsuite/lib/gdb.exp | 28 ++++ 7 files changed, 244 insertions(+) create mode 100644 gdb/testsuite/gdb.base/readline-commands-eof.c create mode 100644 gdb/testsuite/gdb.base/readline-commands-eof.exp base-commit: a723c56efb07c4f8b3f6a3ed4b878a2f8f5572cc