From patchwork Thu Feb 28 20:25:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 159439 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp1092094jad; Thu, 28 Feb 2019 12:33:13 -0800 (PST) X-Google-Smtp-Source: APXvYqx7c7PNXNIRBrJUy2KypVMi0MWYI8dfXDy61b83RIzfTWPuJDocfzLliQW8r2zhvXl3k8Hx X-Received: by 2002:a25:664a:: with SMTP id z10mr1230322ybm.253.1551385993892; Thu, 28 Feb 2019 12:33:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551385993; cv=none; d=google.com; s=arc-20160816; b=VWpC1pr6rNCMotoG/xQA/MTzgU1ojTq0Ti2BCmMnOI07CBy8VL06jZhw5hO89v7D6D ILVsgWqNw8PsV+8J6i0n1lm0bIPdjDljkaSpP2BMLxYbZKHDAd7qK9/7N2ZXrM02hcZ5 4vN8gRwzjPEnT4D3dveoDBlT0pWg/tpG9nsNLc8RCsPDDVZdy+LQMxj7KMRP+pUrSyvh khFHNhRirSc78YYxy+H6KoR7zeQkd9T+KyPedlJERwMaeLDzKb/M0quILL6pJysg7WZy hi0UwbeBQ7DU6iLtKWqm1KVXbLf2mC39BRlsh352H4OMivE4o8WXMpC43m1Kqz+Rd2Ai 6Tnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=6Iwg8gBxmNX74lrd9FLXQo+bpVujW4RDOBT9zcDiXUI=; b=RW7ZjFLZq44YBoL3hTY/qUZZvuDP0HgVeH4bXWZiKJB53y9xO+xxwNwdbcncnlJpuu 9XJ1Q3j7Ik0THL1btTBSnMC8yBwclwxNJZlFdhKRFq2PVCOPrK8SVrspCm59nZAzUHpc VMYz+R8VQwZ+3RkLwTjKGglM74E8251Zf4IPR5sqKHyDWo9lddTyT3uNfypH8E+HgfMw vJ4YMoJXcxmd7qfIkieVRxvMrP01WODt473B/a/Igw5di5oQfZoRzNVYbcCdeCagJI6o VSTYQbaYfgUNHURDKeBogX3rJoAkz0B+aqmVpm6+3iq2PRMgqDplzr1ZvFgK6c7Wqm3W Nwrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=nc17BE5V; 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=fail (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 c79si11311999ywa.394.2019.02.28.12.33.13 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 28 Feb 2019 12:33:13 -0800 (PST) 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=fail header.i=@linaro.org header.s=google header.b=nc17BE5V; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:46071 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzSMj-0005wq-8O for patch@linaro.org; Thu, 28 Feb 2019 15:33:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzSFU-0000Ql-9a for qemu-devel@nongnu.org; Thu, 28 Feb 2019 15:25:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzSFT-0007DE-EJ for qemu-devel@nongnu.org; Thu, 28 Feb 2019 15:25:44 -0500 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:41553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzSFT-00079o-5v for qemu-devel@nongnu.org; Thu, 28 Feb 2019 15:25:43 -0500 Received: by mail-wr1-x441.google.com with SMTP id n2so23420507wrw.8 for ; Thu, 28 Feb 2019 12:25:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6Iwg8gBxmNX74lrd9FLXQo+bpVujW4RDOBT9zcDiXUI=; b=nc17BE5VJymlmV+mE+IljEUZoEjqL99lINGs1LL1tb57OAIBsNzduUiJ9fEI9QgymH r6CXIjz+qfMVeyKlwKjEjUys2nuBYlX0ggmTBa2LQV7UvquSLdE1IiJjklMukiDcWzpO HlWbF6m2pKd7Emg5X6Q3BhhFEn1Tu2Q83u3kRfGD4LkLFqb6zaPyIYyU8RzkImTxsxMB qXSFSwYFZi8ktZVMwL16G6/PUwmprlxP5c9Fx6rj7b0J1/WTm7GgoCFN9ca0V+U3coLN 4FPE6bB1SopQRR/NisEvOV/MTr2FbDHaiwfQa2XgYdB1yGp6/DkOdQKlFeHxezgc5D5n pXPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6Iwg8gBxmNX74lrd9FLXQo+bpVujW4RDOBT9zcDiXUI=; b=N0bqWhZusLWKV2W9dS3Az23EkZBcR9VAeEDUhFrGINCRb5fsEW6QvQ/KGJzxuurxt2 T0EeF5KNvfguktf4Kj3A2vppYRDaB8uFuPkRpn2CmmCCC9/ArMJgan6bEqx+jGgDUFoU RDUbADNKqJccahtgFFraqHXu1XLjqFCJYNt+cmH3KTrRVWm9VqIBLKSUZyicFw/VhnFd da7+aeS6JWttaWjYLjg8zXkN62bLoIQNPDkcHLSYf1aTcGJeDUvfVb8Bz9l7daPaJjZt W7uMW2/mGWIGIhyd0/k44k2osOnnYwk8rI82G5bGuTpupjYNUVxMATwseb64n+9vVdXr sPZQ== X-Gm-Message-State: APjAAAUj3ARI2D/WgH+7cyCj8OyhsbE/8ooPAQm9OViEPfuCvt6H5Uux Gy3qo55aF/mgq6fV5Ykq2HVnbw== X-Received: by 2002:a5d:500e:: with SMTP id e14mr798230wrt.219.1551385542035; Thu, 28 Feb 2019 12:25:42 -0800 (PST) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id e193sm11768176wmg.18.2019.02.28.12.25.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Feb 2019 12:25:40 -0800 (PST) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9286A1FF87; Thu, 28 Feb 2019 20:25:37 +0000 (UTC) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Thu, 28 Feb 2019 20:25:25 +0000 Message-Id: <20190228202537.4638-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228202537.4638-1-alex.bennee@linaro.org> References: <20190228202537.4638-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 Subject: [Qemu-devel] [PATCH v2 04/16] tests/tcg: add gdb runner variant X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: edgar.iglesias@gmail.com, qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , jcmvbkbc@gmail.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" With this you can launch a test in gdb with: cd $(BUILD)/tests make -f $(SRC)/tests/tcg/Makefile gdb-$(TEST_NAME) Signed-off-by: Alex Bennée --- tests/tcg/Makefile | 3 +++ 1 file changed, 3 insertions(+) -- 2.20.1 diff --git a/tests/tcg/Makefile b/tests/tcg/Makefile index 097e6374ea..47f4298e68 100644 --- a/tests/tcg/Makefile +++ b/tests/tcg/Makefile @@ -113,6 +113,9 @@ RUN_TESTS+=$(EXTRA_RUNS) run-%: % $(call run-test, $<, $(QEMU) $(QEMU_OPTS) $<, "$< on $(TARGET_NAME)") +gdb-%: % + gdb --args $(QEMU) $(QEMU_OPTS) $< + .PHONY: run run: $(RUN_TESTS)