qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 11/12] gdbstub: replace global gdb_has_xml with a function


From: Richard Henderson
Subject: Re: [PATCH v2 11/12] gdbstub: replace global gdb_has_xml with a function
Date: Thu, 24 Aug 2023 12:27:57 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 8/24/23 09:39, Alex Bennée wrote:
Try and make the self reported global hack a little less hackish by
providing a query function instead. As gdb_has_xml was always set if
we negotiated XML we can now use the presence of ->target_xml as the
test instead.

Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
---
  gdbstub/internals.h    |  1 +
  include/exec/gdbstub.h | 10 +++++-----
  gdbstub/gdbstub.c      | 12 +++++++-----
  gdbstub/softmmu.c      |  1 -
  gdbstub/user.c         |  1 -
  target/arm/gdbstub.c   |  8 ++++----
  target/ppc/gdbstub.c   |  4 ++--
  7 files changed, 19 insertions(+), 18 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]