From nobody Tue Oct 7 07:03:49 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 15513861034021021.5166704070739; Thu, 28 Feb 2019 12:35:03 -0800 (PST) Received: from localhost ([127.0.0.1]:46089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzSOQ-0007AI-WD for importer@patchew.org; Thu, 28 Feb 2019 15:34:59 -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) 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) 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-Google-Smtp-Source: APXvYqxaKxNDCSoQSaLSnmuJn9bnaHyuG6h4jj8dMDbF6NqrKYzC7AUeUOxuKHVVkzu67jAst/ifgA== X-Received: by 2002:a5d:500e:: with SMTP id e14mr798230wrt.219.1551385542035; Thu, 28 Feb 2019 12:25:42 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=20Benn=C3=A9e?= , jcmvbkbc@gmail.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) 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=C3=A9e --- tests/tcg/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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+=3D$(EXTRA_RUNS) run-%: % $(call run-test, $<, $(QEMU) $(QEMU_OPTS) $<, "$< on $(TARGET_NAME)") =20 +gdb-%: % + gdb --args $(QEMU) $(QEMU_OPTS) $< + .PHONY: run run: $(RUN_TESTS) =20 --=20 2.20.1