From: "Alex Bennée" <alex.bennee@linaro.org>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: qemu-devel@nongnu.org,
Daniel Henrique Barboza <danielhb413@gmail.com>,
Eduardo Habkost <eduardo@habkost.net>,
Zhao Liu <zhao1.liu@intel.com>,
Pierrick Bouvier <pierrick.bouvier@linaro.org>,
Anton Johansson <anjo@rev.ng>, Riku Voipio <riku.voipio@iki.fi>,
Paolo Bonzini <pbonzini@redhat.com>,
Nicholas Piggin <npiggin@gmail.com>,
Richard Henderson <richard.henderson@linaro.org>,
qemu-ppc@nongnu.org
Subject: Re: [PATCH-for-10.1 2/5] gdbstub: Remove ldtul_be_p() and ldtul_le_p() macros
Date: Wed, 26 Mar 2025 12:59:46 +0000 [thread overview]
Message-ID: <87cye40wxp.fsf@draig.linaro.org> (raw)
In-Reply-To: <20250325130221.76116-3-philmd@linaro.org> ("Philippe Mathieu-Daudé"'s message of "Tue, 25 Mar 2025 14:02:17 +0100")
Philippe Mathieu-Daudé <philmd@linaro.org> writes:
> Last uses of ldtul_be_p() were removed in commit 78920b4ff2b
> ("target/sparc: Use explicit big-endian LD/ST API"), and of
> ldtul_le_p() in 39631d57d7c ("target/riscv: Use explicit
> little-endian LD/ST API"). Remove these legacy macros.
I'm guessing these are commits in your tree because I can't see them in
origin.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> include/gdbstub/helpers.h | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/include/gdbstub/helpers.h b/include/gdbstub/helpers.h
> index 6f7cc48adcb..26140ef1ac0 100644
> --- a/include/gdbstub/helpers.h
> +++ b/include/gdbstub/helpers.h
> @@ -95,13 +95,9 @@ static inline uint8_t *gdb_get_reg_ptr(GByteArray *buf, int len)
> #if TARGET_LONG_BITS == 64
> #define gdb_get_regl(buf, val) gdb_get_reg64(buf, val)
> #define ldtul_p(addr) ldq_p(addr)
> -#define ldtul_le_p(addr) ldq_le_p(addr)
> -#define ldtul_be_p(addr) ldq_be_p(addr)
> #else
> #define gdb_get_regl(buf, val) gdb_get_reg32(buf, val)
> #define ldtul_p(addr) ldl_p(addr)
> -#define ldtul_le_p(addr) ldl_le_p(addr)
> -#define ldtul_be_p(addr) ldl_be_p(addr)
> #endif
>
> #endif /* _GDBSTUB_HELPERS_H_ */
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
next prev parent reply other threads:[~2025-03-26 13:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-25 13:02 [PATCH-for-10.1 0/5] exec: Remove TARGET_LONG_SIZE definition Philippe Mathieu-Daudé
2025-03-25 13:02 ` [PATCH-for-10.1 1/5] target/i386: Use explicit little-endian LD/ST API Philippe Mathieu-Daudé
2025-03-25 13:02 ` [PATCH-for-10.1 2/5] gdbstub: Remove ldtul_be_p() and ldtul_le_p() macros Philippe Mathieu-Daudé
2025-03-26 12:59 ` Alex Bennée [this message]
2025-03-31 11:49 ` Philippe Mathieu-Daudé
2025-03-25 13:02 ` [PATCH-for-10.1 3/5] target/ppc/gdbstub: Replace TARGET_LONG_SIZE -> sizeof(target_ulong) Philippe Mathieu-Daudé
2025-03-25 13:02 ` [PATCH-for-10.1 4/5] user/tswap: Replace TARGET_LONG_SIZE -> TARGET_LONG_BITS Philippe Mathieu-Daudé
2025-03-25 13:02 ` [PATCH-for-10.1 5/5] exec/target_long: Remove TARGET_LONG_SIZE definition Philippe Mathieu-Daudé
2025-03-25 14:15 ` [PATCH-for-10.1 0/5] exec: " Richard Henderson
2025-03-25 14:25 ` Pierrick Bouvier
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=87cye40wxp.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=anjo@rev.ng \
--cc=danielhb413@gmail.com \
--cc=eduardo@habkost.net \
--cc=npiggin@gmail.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=riku.voipio@iki.fi \
--cc=zhao1.liu@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.