qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Gustavo Romero <gustavo.romero@linaro.org>,
	qemu-devel@nongnu.org, alex.bennee@linaro.org,
	berrange@redhat.com
Cc: qemu-arm@nongnu.org
Subject: Re: [PATCH v6 4/9] tests/functional: Add GDB class
Date: Mon, 6 Oct 2025 08:30:30 +0200	[thread overview]
Message-ID: <7aae5daa-5e07-463c-bc3a-6581050688af@redhat.com> (raw)
In-Reply-To: <20251003141820.85278-5-gustavo.romero@linaro.org>

On 03/10/2025 16.18, Gustavo Romero wrote:
> Add GDB class, which provides methods to run GDB commands and capture
> their output. The GDB class is a wrapper around the pygdbmi module and
> interacts with GDB via GDB's machine interface (MI).
> 
> Acked-by: Thomas Huth <thuth@redhat.com>
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
> Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
> ---
>   tests/functional/qemu_test/__init__.py |  1 +
>   tests/functional/qemu_test/gdb.py      | 88 ++++++++++++++++++++++++++
>   2 files changed, 89 insertions(+)
>   create mode 100644 tests/functional/qemu_test/gdb.py
> 
> diff --git a/tests/functional/qemu_test/__init__.py b/tests/functional/qemu_test/__init__.py
> index 6e666a059f..60d19891bf 100644
> --- a/tests/functional/qemu_test/__init__.py
> +++ b/tests/functional/qemu_test/__init__.py
> @@ -18,3 +18,4 @@
>       skipIfMissingImports, skipIfOperatingSystem, skipLockedMemoryTest
>   from .archive import archive_extract
>   from .uncompress import uncompress
> +from .gdb import GDB
> diff --git a/tests/functional/qemu_test/gdb.py b/tests/functional/qemu_test/gdb.py
> new file mode 100644
> index 0000000000..05e4c29c2a
> --- /dev/null
> +++ b/tests/functional/qemu_test/gdb.py
> @@ -0,0 +1,88 @@
> +# SPDX-License-Identifier: GPL-2.0-or-later
> +#
> +# A simple interface module built around pygdbmi for handling GDB commands.
> +#
> +# Copyright (c) 2025 Linaro Limited
> +#
> +# Author:
> +#  Gustavo Romero <gustavo.romero@linaro.org>
> +#
> +# This work is licensed under the terms of the GNU GPL, version 2 or
> +# later.  See the COPYING file in the top-level directory.

  Hi,

just as a reminder, this still needs the change requested by Daniel:

https://lore.kernel.org/qemu-devel/aN56GkbIFxs5IDRR@redhat.com/

  Thomas



  reply	other threads:[~2025-10-06  6:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-03 14:18 [PATCH v6 0/9] tests/functional: Adapt reverse_debugging to run w/o Avocado Gustavo Romero
2025-10-03 14:18 ` [PATCH v6 1/9] tests/functional: Re-activate the check-venv target Gustavo Romero
2025-10-03 14:18 ` [PATCH v6 2/9] python: Install pygdbmi in meson's venv Gustavo Romero
2025-10-03 14:18 ` [PATCH v6 3/9] tests/functional: Provide GDB to the functional tests Gustavo Romero
2025-10-03 14:18 ` [PATCH v6 4/9] tests/functional: Add GDB class Gustavo Romero
2025-10-06  6:30   ` Thomas Huth [this message]
2025-10-06 10:13     ` Alex Bennée
2025-10-03 14:18 ` [PATCH v6 5/9] tests/functional: replace avocado process with subprocess Gustavo Romero
2025-10-03 14:18 ` [PATCH v6 6/9] tests/functional: drop datadrainer class in reverse debugging Gustavo Romero
2025-10-03 14:18 ` [PATCH v6 7/9] tests/functional: Add decorator to skip test on missing env vars Gustavo Romero
2025-10-03 14:18 ` [PATCH v6 8/9] tests/functional: Adapt reverse_debugging to run w/o Avocado Gustavo Romero
2025-10-03 14:18 ` [PATCH v6 9/9] tests/functional: Adapt arches to reverse_debugging " Gustavo Romero
2025-10-06  7:43 ` [PATCH v6 0/9] tests/functional: Adapt reverse_debugging to run " Thomas Huth
2025-10-06 10:13   ` Alex Bennée

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7aae5daa-5e07-463c-bc3a-6581050688af@redhat.com \
    --to=thuth@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=berrange@redhat.com \
    --cc=gustavo.romero@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).