@samitouri / QOSamiQemu / commits / cebda82488

gdbstub: Remove ldtul*() macros

These macros aren't used anymore, remove them to avoid further uses creeping back in. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20260219191955.83815-32-philmd@linaro.org>

Philippe Mathieu-Daudé committed Mar 25, 2025 at 16:49 UTC cebda82488ea38d3f010ed037a38a64ced681a46
1 file changed -6
include/gdbstub/helpers.h
-6
@@ -104,14 +104,8 @@ static inline uint8_t *gdb_get_reg_ptr(GByteArray *buf, int len)
104 #ifdef COMPILING_PER_TARGET
105 #if TARGET_LONG_BITS == 64
106 #define gdb_get_regl(buf, val) gdb_get_reg64(buf, val)
107 -#define ldtul_p(addr) ldq_p(addr)
108 -#define ldtul_le_p(addr) ldq_le_p(addr)
109 -#define ldtul_be_p(addr) ldq_be_p(addr)
107 #else
108 #define gdb_get_regl(buf, val) gdb_get_reg32(buf, val)
112 -#define ldtul_p(addr) ldl_p(addr)
113 -#define ldtul_le_p(addr) ldl_le_p(addr)
114 -#define ldtul_be_p(addr) ldl_be_p(addr)
109 #endif
110 #endif /* COMPILING_PER_TARGET */
111