From patchwork Wed Jul 21 06:41:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 483257 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp5912406jao; Tue, 20 Jul 2021 23:58:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY42x+/5RAALiL8m50RnumcE/B7KSEH8NsC15Q9RIcYiRVIcNAIvQdEeNG/tlohd0Mtkpo X-Received: by 2002:a05:622a:183:: with SMTP id s3mr17067201qtw.169.1626850717871; Tue, 20 Jul 2021 23:58:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626850717; cv=none; d=google.com; s=arc-20160816; b=MzcgvYH24xY+Ek5+YLh9J4xB4dM5Lj+wADq8yTcxCQFkeka86XffUZHjqpQWf1kquW 3n/EeJU7sfgR4t0QyPRPZTcldXAg3VhqBpAl9hwQV5y8NL1UIHmijTW5T1cn8JvskClx b1gvNpOqZ9TUfMao/1nC6eyGzJ4eRkP3QT0+LvT4VqkIWNxOsULljPw5U3PWeztjJ376 bZWyAgbgQjFkpxRPYt/QKYxcKv3Oq3cYDvFvOpsbjLdbJzBwl1ixcV8/04vNGqmNhedF 7G5VaR66ZXLDdxQyMUFC15+7j77lN5g6vI4baMLVWVR2tY6LYl4PT5lrkb9NOZ0ItqTZ tslw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=busu5UKD/aLT5lG+3mLQc6ZgBAZSFxZi1JDubmEFxEw=; b=ymEST0bm09hfyJikrlJ3RhtwUZbSchnEfGDbJyGkEWJvTBEn8/iX9eCYe+QeU1my4B auuzeVtTpsax0MOw5b00pevXwiXYKJx3byr0jPIR/sg6hP8oJWx7ZE1eDq/1IrI8R2G3 5k2ptv7gadek2NXJe1QdYlK721lRH/4FEjmZE5rNu5IkNkwNI5yXQJBNhpEqWSxOFf9J uS/PCCbvmA8+Zs3CtA6rFfxaewPGW4RoIIRnOYrzrrJzRzG2+L4hdOVNsm1gtG4XACL3 poXqgl/0jCcz+2DH+63nf+7zL1RH+8V68CWqSXdSveIPzd5BRHbl7hJfvKfYOlGB0WzS xyTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MZKV0YGB; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s8si17093476qkj.327.2021.07.20.23.58.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Jul 2021 23:58:37 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MZKV0YGB; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:58990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m66Bh-0008JR-64 for patch@linaro.org; Wed, 21 Jul 2021 02:58:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m65vw-0005DK-PP for qemu-devel@nongnu.org; Wed, 21 Jul 2021 02:42:23 -0400 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:45770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m65vv-0005gO-Bs for qemu-devel@nongnu.org; Wed, 21 Jul 2021 02:42:20 -0400 Received: by mail-pj1-x102c.google.com with SMTP id h6-20020a17090a6486b029017613554465so445597pjj.4 for ; Tue, 20 Jul 2021 23:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=busu5UKD/aLT5lG+3mLQc6ZgBAZSFxZi1JDubmEFxEw=; b=MZKV0YGB0ov5YHY822tWA9OTZqW5CbQfmx4qY7jYguUj9D2k0Y7x9smvxrBZdTx24k T4g2FW9KjxfFlRmSCfhYhwBOXSsoDaK/ehnoXsrEqsH0QMtodCtz4tVbgQUc1V1gO2yz pb3igkv5R8+3UhZG9plQrzMYxtxjen9w7pc/xPqg8znnBRLwpCws8/1VJGlFb2ATQxYg eyeswEfr0q0acsPhXPW0f5OFFBKOWxrCgoiVFUwkkrmIb56h9Kl/gXXsTc1cLqMATPAu 23d+tED7uuARthyeFAiN3rYHZUs/kfke3LBjCm6zXamUc2qYbAU2xbE5ZvvENrPEl6mB 2h5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=busu5UKD/aLT5lG+3mLQc6ZgBAZSFxZi1JDubmEFxEw=; b=sT9zXCQk2IQSwriPGgl7TWZ40HgJRaOtir34zQ7ckSvxYDXvlQN6Xcxh6xngGtDbAg YRi4KWQFT6p3gqPQqCIoQKJobg9uMnC0CIPlu9B8n3e0wi2cq/D2U97PxUysIOoE+l9Q oX61/w/Rozbsd241H7fDGKG/My+9M0SGX0RyKPq+dyWVWfZsgf4fIxLbdmpoMxIM8tGu cXapsLO7hE7nSEh5I+ZiAtliFSnlqwauicn8yIiREUkR8xHwKj40sHZNmoWiZPVBMBxp RHAxKRlHL61Sow0ezP8ViZ3XDRv66GMBX9FbDcLXAL7q5xFLQHCZoF+8Ni28xlNHudyB SPFw== X-Gm-Message-State: AOAM53305w+k4AJVrUyVQZKhimUjO4kJI58JkqsaybAm0u+WirRzAGo2 djw+3CpdZB307J64riLsZTazwy8UtJOwJg== X-Received: by 2002:a17:902:c246:b029:129:b2e0:be90 with SMTP id 6-20020a170902c246b0290129b2e0be90mr26835416plg.84.1626849738125; Tue, 20 Jul 2021 23:42:18 -0700 (PDT) Received: from localhost.localdomain (204-210-126-223.res.spectrum.com. [204.210.126.223]) by smtp.gmail.com with ESMTPSA id q17sm21146132pjd.42.2021.07.20.23.42.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 23:42:17 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH for-6.2 20/23] target/s390x: Drop check for singlestep_enabled Date: Tue, 20 Jul 2021 20:41:52 -1000 Message-Id: <20210721064155.645508-21-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210721064155.645508-1-richard.henderson@linaro.org> References: <20210721064155.645508-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" GDB single-stepping is now handled generically. Signed-off-by: Richard Henderson --- target/s390x/tcg/translate.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) -- 2.25.1 diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c index 0632b0374b..1894ed7a66 100644 --- a/target/s390x/tcg/translate.c +++ b/target/s390x/tcg/translate.c @@ -148,7 +148,6 @@ struct DisasContext { uint64_t pc_tmp; uint32_t ilen; enum cc_op cc_op; - bool do_debug; }; /* Information carried about a condition to be evaluated. */ @@ -6541,7 +6540,6 @@ static void s390x_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs) dc->cc_op = CC_OP_DYNAMIC; dc->ex_value = dc->base.tb->cs_base; - dc->do_debug = dc->base.singlestep_enabled; } static void s390x_tr_tb_start(DisasContextBase *db, CPUState *cs) @@ -6588,10 +6586,8 @@ static void s390x_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs) /* FALLTHRU */ case DISAS_PC_CC_UPDATED: /* Exit the TB, either by raising a debug exception or by return. */ - if (dc->do_debug) { - gen_exception(EXCP_DEBUG); - } else if ((dc->base.tb->flags & FLAG_MASK_PER) || - dc->base.is_jmp == DISAS_PC_STALE_NOCHAIN) { + if ((dc->base.tb->flags & FLAG_MASK_PER) || + dc->base.is_jmp == DISAS_PC_STALE_NOCHAIN) { tcg_gen_exit_tb(NULL, 0); } else { tcg_gen_lookup_and_goto_ptr();