From patchwork Fri Sep 8 18:23:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 75576 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 216483882106 for ; Fri, 8 Sep 2023 19:06:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 216483882106 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1694200017; bh=p0tUh1PZOWL+NyR0cQbRK9ib8M8079Uqsm/phi92Hvk=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=evxQRH/mkoxIVRW+FFgmeZ7uhttM0fnw4rGuCQb5ZcrAvh11zwVdjf5yMHPB7v3MD s8yn8BAIOuyr6mUryljhrjU4RmcX7pBJ6i8A9/dEe4h5/g/eLZ3DKS4r4NfdtCBDH4 1LSv4ld4VtxO9/jsS9U7X8qcQ0yoKQfDlWUA31Fk= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 6F6DF3858426 for ; Fri, 8 Sep 2023 19:06:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6F6DF3858426 Received: from smarchi-efficios.internal.efficios.com (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 00E611E092; Fri, 8 Sep 2023 15:06:31 -0400 (EDT) To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 16/21] gdb/mi: use m_ui instead of current_ui in mi_interp::suspend Date: Fri, 8 Sep 2023 14:23:10 -0400 Message-ID: <20230908190227.96319-17-simon.marchi@efficios.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230908190227.96319-1-simon.marchi@efficios.com> References: <20230908190227.96319-1-simon.marchi@efficios.com> MIME-Version: 1.0 X-Spam-Status: No, score=-3497.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_SOFTFAIL, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Simon Marchi via Gdb-patches From: Simon Marchi Reply-To: Simon Marchi Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" No behavior changes expected. Change-Id: I17d11fb5ed38a51bc0ea9708ec5e290bb54d41c1 --- gdb/mi/mi-interp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index b676e22f3550..60a2ed0bcc4c 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -141,7 +141,7 @@ mi_interp::resume () void mi_interp::suspend () { - gdb_disable_readline (current_ui); + gdb_disable_readline (m_ui); } void