Message ID | 20231006090610.26171-29-nicolas.eder@lauterbach.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B8A3DE92FF8 for <qemu-devel@archiver.kernel.org>; Fri, 6 Oct 2023 09:08:31 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1qogny-0001Dr-2l; Fri, 06 Oct 2023 05:07:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <nicolas.eder@lauterbach.com>) id 1qognk-00007G-JG for qemu-devel@nongnu.org; Fri, 06 Oct 2023 05:07:18 -0400 Received: from smtp1.lauterbach.com ([62.154.241.196]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <nicolas.eder@lauterbach.com>) id 1qogni-000158-4Q for qemu-devel@nongnu.org; Fri, 06 Oct 2023 05:07:16 -0400 Received: (qmail 20078 invoked by uid 484); 6 Oct 2023 09:07:01 -0000 X-Qmail-Scanner-Diagnostics: from nedpc1.intern.lauterbach.com by smtp1.lauterbach.com (envelope-from <nicolas.eder@lauterbach.com>, uid 484) with qmail-scanner-2.11 (mhr: 1.0. clamdscan: 0.99/21437. spamassassin: 3.4.0. Clear:RC:1(10.2.11.92):. Processed in 0.279629 secs); 06 Oct 2023 09:07:01 -0000 Received: from nedpc1.intern.lauterbach.com (Authenticated_SSL:neder@[10.2.11.92]) (envelope-sender <nicolas.eder@lauterbach.com>) by smtp1.lauterbach.com (qmail-ldap-1.03) with TLS_AES_256_GCM_SHA384 encrypted SMTP for <qemu-devel@nongnu.org>; 6 Oct 2023 09:07:00 -0000 From: Nicolas Eder <nicolas.eder@lauterbach.com> To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Christian.Boenig@lauterbach.com, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, Nicolas Eder <nicolas.eder@lauterbach.com> Subject: [PATCH v2 28/29] added description to out-commented gdb function Date: Fri, 6 Oct 2023 11:06:09 +0200 Message-Id: <20231006090610.26171-29-nicolas.eder@lauterbach.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231006090610.26171-1-nicolas.eder@lauterbach.com> References: <20231006090610.26171-1-nicolas.eder@lauterbach.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Qmail-Scanner-2.11: added fake Content-Type header Content-Type: text/plain Received-SPF: pass client-ip=62.154.241.196; envelope-from=nicolas.eder@lauterbach.com; helo=smtp1.lauterbach.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-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.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org |
Series |
first version of mcdstub
|
expand
|
diff --git a/softmmu/cpus.c b/softmmu/cpus.c index b1807e6d7b..5d0657bbe5 100644 --- a/softmmu/cpus.c +++ b/softmmu/cpus.c @@ -306,7 +306,10 @@ void cpu_handle_guest_debug(CPUState *cpu) cpu_single_step(cpu, 0); } } else { - /*gdb_set_stop_cpu(cpu);*/ + /* + * TODO: was gdb_set_stop_cpu(cpu), need to abstract options to + * a QOM class. + */ qemu_system_debug_request(); cpu->stopped = true; }
From: neder <nicolas.eder@lauterbach.com> --- softmmu/cpus.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)