Message ID | 20250325155543.95684-1-philmd@linaro.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [PATCH-for-10.1] gdbstub/helpers: Remove ldtul_p() macro definitions | expand |
Philippe Mathieu-Daudé <philmd@linaro.org> writes: > There are no more use of ldtul_p() in the code base, > remove the definitions. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Queued to gdbstub/next, thanks. <snip>
diff --git a/include/gdbstub/helpers.h b/include/gdbstub/helpers.h index 6f7cc48adcb..3d4a13b919c 100644 --- a/include/gdbstub/helpers.h +++ b/include/gdbstub/helpers.h @@ -94,12 +94,10 @@ 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
There are no more use of ldtul_p() in the code base, remove the definitions. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- Based-on: - https://lore.kernel.org/qemu-devel/20250325154058.92735-6-philmd@linaro.org/ (mips) - https://lore.kernel.org/qemu-devel/20250325154528.93845-1-philmd@linaro.org/ (x86) - https://lore.kernel.org/qemu-devel/20250325154913.95283-1-philmd@linaro.org/ (riscv) --- include/gdbstub/helpers.h | 2 -- 1 file changed, 2 deletions(-)