From patchwork Sat Oct 16 18:14:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 515876 Delivered-To: patch@linaro.org Received: by 2002:ac0:cd8c:0:0:0:0:0 with SMTP id d12csp130441imp; Sat, 16 Oct 2021 11:17:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGz7//Mv1hWCtbWAh25AbGbq1vqbYn1TKzAWvwpnJu4wYISLrjrLoUFDqEawNfDoG2EeG/ X-Received: by 2002:a05:6902:120e:: with SMTP id s14mr23440410ybu.161.1634408235232; Sat, 16 Oct 2021 11:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634408235; cv=none; d=google.com; s=arc-20160816; b=waBJm9tFonHUTI9L9BbknDQo6DBtwxFiZHWJKnKE/nL8MrI5r6lKGl8ZamqyLKkPIw WcNFEzhXhXrLW5hCTfbSncWbACTMd8goW0dfkHRhWneCxnc0vjc8grkgTZOCaL+F5Zy9 rcKR3eONrTomwtZecSlLzLBe1DW6NhnA2G11u3q3jM3XiPdUS2PQRID/bJjoXDiPam+A heqyUWxfkhKocePi6LgSde46QAm3UgyVmU7G7ROCRZ+JHMVerz6K/rRQAw3YH3GO+EHQ XFn2GnwNAIeoq5XTazPvJYymWZipQH7Rq7hYzpQnfsaaYEfvypj/b2ri5dJIKSkkdsgC Uyjw== 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=I0CzIZRWI2JoSPxoR4xs5SpApEcqlDWMcO9xYzu4ImA=; b=yq3fIv1oEMb8AfuYkidFRX6oJEEgOyN9MDs63pl7/G0f11APgpJbFklKhaQCdummA6 oocpRIroXS94OIhApigTyRymKufqyNbj/LYqUrHjfdMEUgAjqd91Ax6h8FNZUFIyw19I ES7neefPt+xYI4BEqaA0HUb0SjDvXoMYrvkFDMdFG/QlrJizX57gIzumaTBn3m9SDwZm F+/1NVYwrxjbx0YHiI3dM1ySW+ssp7EjZb4/Il51gAGGAlJ8Jof3xhRAVCT6VEiaHZkg 7GpQHL9xfzDutlnea1FCssWVjN4OHJg+vo7rBMIXaERO8LLG7W1kC2ccC1qc0ez/5yl6 l+RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ajq6npFn; 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 a4si12392773ybp.81.2021.10.16.11.17.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 16 Oct 2021 11:17:15 -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=Ajq6npFn; 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]:50846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mboF8-0008OM-Lw for patch@linaro.org; Sat, 16 Oct 2021 14:17:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mboDR-0008Ja-AQ for qemu-devel@nongnu.org; Sat, 16 Oct 2021 14:15:30 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:36751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mboDJ-0001t5-Tz for qemu-devel@nongnu.org; Sat, 16 Oct 2021 14:15:24 -0400 Received: by mail-pj1-x102f.google.com with SMTP id qe4-20020a17090b4f8400b0019f663cfcd1so11670947pjb.1 for ; Sat, 16 Oct 2021 11:15:21 -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=I0CzIZRWI2JoSPxoR4xs5SpApEcqlDWMcO9xYzu4ImA=; b=Ajq6npFn7th3y5VW+RD+oLlHq8ckBp4R5jxntrQP8CGczWOcmMhkloFlLTgAYh5Im0 U7mRwjQ2ecvoCfBURcilTlZPUnviSTpaIZvqijgfzPSw9HGQOoM65apF2/Z8KAl2qaTE QqtqA0mkWhVs414Xpzltt1LK4DgHc6WAQvz5zoXDX2wp3v0o6ibDOBMyVEy85SMU1o5L U0Ni18DQjfWSxJKnvkpMKxfz+TCKLURP9H0GC9+0NMHRLJq4LIqGavbIb26PRfT3WQsY XQ4EP+1QAev66KZYlNTGFc14WTGywaexjleujlCpFVCtRJVbqYyINdoltE8vt7XNoMWG WKVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=I0CzIZRWI2JoSPxoR4xs5SpApEcqlDWMcO9xYzu4ImA=; b=wVhhEd3HNFsbv4RJTBxwVIaXcmxVx8cQDafKci1fwm60RxV1J3PLySdDNLMxacYbhV 1tz+Cs/FUWTAcfNzFYY4K5xTh41ygkQf/rvCv+qbMXapdLKkK4Q4UhY+X7Ds6WGHcTrm 3OmNNa/iNW4LY0kUB4kBIca6+MkHRn9lvrLsq4zbgxDxWu7SshYo7tBEcYkozcMhJ3db EQmoZXbiyFq/lqPn8fkCdgxE92MlO1iHnqLg1ymvtqzBdS+K+RKJavXNb6DdSDbbG58U muEzp2iQrj/RV/U1VVabg2ZniCO52VoAVLWv2JotDr7WWv1if2Zn4SPcl1RCmWC7lgWP H8uQ== X-Gm-Message-State: AOAM5331IEtoWHzdAQ0GVUdyu40pq/9nET6sXnIaqBgFFFanZpfAS7hr T+bzrMwOEmAxVwn/alldH4gc8le/JfSgJg== X-Received: by 2002:a17:90b:17cc:: with SMTP id me12mr21808389pjb.147.1634408120305; Sat, 16 Oct 2021 11:15:20 -0700 (PDT) Received: from localhost.localdomain ([71.212.134.125]) by smtp.gmail.com with ESMTPSA id ob5sm5075097pjb.2.2021.10.16.11.15.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Oct 2021 11:15:19 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 04/24] target/cris: Drop checks for singlestep_enabled Date: Sat, 16 Oct 2021 11:14:54 -0700 Message-Id: <20211016181514.3165661-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211016181514.3165661-1-richard.henderson@linaro.org> References: <20211016181514.3165661-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102f.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/cris/translate.c | 16 ---------------- 1 file changed, 16 deletions(-) -- 2.25.1 diff --git a/target/cris/translate.c b/target/cris/translate.c index a84b753349..59325b388a 100644 --- a/target/cris/translate.c +++ b/target/cris/translate.c @@ -3249,22 +3249,6 @@ static void cris_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) } } - if (unlikely(dc->base.singlestep_enabled)) { - switch (is_jmp) { - case DISAS_TOO_MANY: - case DISAS_UPDATE_NEXT: - tcg_gen_movi_tl(env_pc, npc); - /* fall through */ - case DISAS_JUMP: - case DISAS_UPDATE: - t_gen_raise_exception(EXCP_DEBUG); - return; - default: - break; - } - g_assert_not_reached(); - } - switch (is_jmp) { case DISAS_TOO_MANY: gen_goto_tb(dc, 0, npc);