From patchwork Thu Nov 17 18:29:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 55306 Return-Path: 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 E26B83852200 for ; Thu, 17 Nov 2022 18:29:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E26B83852200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668709777; bh=HZooh26V4w+BvEPweZVCrSGHKo7VAxLL1oJrF6ZuoGM=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=ncqb+bJSt4T0VdRcnliF41AYiKc7LHckb0HxayHCql6trajrFziL3GyB0pUlEEAxI KNBWtqrLoYIjBJXkMSclB2cvFYF6qVMIUwYMr2dIolzPmO3qZ8QzGV7TzzNr+hbj1t Bhexl7d+EEC49PizS6estMkc2VGWeYi0rl6G+e+M= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by sourceware.org (Postfix) with ESMTPS id B37153854579 for ; Thu, 17 Nov 2022 18:29:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B37153854579 Received: by mail-il1-x135.google.com with SMTP id l6so1346783ilq.3 for ; Thu, 17 Nov 2022 10:29:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HZooh26V4w+BvEPweZVCrSGHKo7VAxLL1oJrF6ZuoGM=; b=DI8Bqn1yqONyEC9GMwQjv0ClPh2fmnAPpbzaoKcbHu2/ecnS0k1IRfawfbAFTP1cut NfpRM5J/Y2yiOSnVE01UIUUX4g9j/UlNINFhubWfLUGGQ9CI4GPornEpX1KzAwSPP3+o pVPwgZRRPjFBjopmlG7eU9zfW+QYEXEj9CeiVgX43qUSnO5pmq12lEHI6tIriJc52smq 2zI/tvqj6mvrJ8vfz3f9RBqkmZUdXMs7ogAAETyOqkxBflzgxksIMrjmX3LpSB70z4eK 96FCgAVAcTqd87M7RTxSnOW7IPi+C5DIMVJngT1kEglijrHux9ky3Z9sI9HloEIU7dwr jLhw== X-Gm-Message-State: ANoB5pnskyv5J8UJq2jvmmdCdvLeq4n+MeLSAq0R/MNValCYAhdqZ4gJ OjyqMLYPqi92jXI+92Jpf3yxBpWyGI9MLA== X-Google-Smtp-Source: AA0mqf58U6oaSJGxP1uuAiwi3IvqIsYqDemNRFyKMXhtEdgJWQUF9hWcWNlFVKFw3949LaWCIBS6+Q== X-Received: by 2002:a92:c042:0:b0:302:48f4:42bf with SMTP id o2-20020a92c042000000b0030248f442bfmr1803970ilf.104.1668709753999; Thu, 17 Nov 2022 10:29:13 -0800 (PST) Received: from localhost.localdomain (97-122-76-186.hlrn.qwest.net. [97.122.76.186]) by smtp.gmail.com with ESMTPSA id g68-20020a025b47000000b00365c1bd9ac7sm469409jab.113.2022.11.17.10.29.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 10:29:13 -0800 (PST) To: gdb-patches@sourceware.org Subject: [PATCH 0/3] Do not let logging use pager Date: Thu, 17 Nov 2022 11:29:01 -0700 Message-Id: <20221117182904.1291713-1-tromey@adacore.com> X-Mailer: git-send-email 2.34.3 MIME-Version: 1.0 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Tom Tromey via Gdb-patches From: Tom Tromey Reply-To: Tom Tromey Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" PR gdb/29787 points out a crash in gdb when logging is used. I tracked this down to the CLI accidentally enabling paging for gdb_stdlog when logging is enabled. This series applies a couple of minor cleanups, then fixes the underlying problem. Regression tested on x86-64 Fedora 34. Tom