qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 13/21] gdbstub: specialise handle_query_attached


From: Richard Henderson
Subject: Re: [PATCH v2 13/21] gdbstub: specialise handle_query_attached
Date: Fri, 6 Jan 2023 13:59:22 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 1/5/23 08:43, Alex Bennée wrote:
In both user and softmmu cases we are just replying with a constant.
If the linker is paying attention it may even be able to sort optimise
the call.

Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
---
  gdbstub/internals.h |  4 +++-
  gdbstub/gdbstub.c   | 15 ++-------------
  gdbstub/softmmu.c   |  5 +++++
  gdbstub/user.c      |  5 +++++
  4 files changed, 15 insertions(+), 14 deletions(-)

I'd drop the comment about the linker.

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

r~



reply via email to

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