[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/5] gdbstub: Remove unused gdb_get_float32() and gdb_get_float64
From: |
Peter Maydell |
Subject: |
[PATCH 4/5] gdbstub: Remove unused gdb_get_float32() and gdb_get_float64() |
Date: |
Mon, 8 Feb 2021 11:34:27 +0000 |
The functions gdb_get_float32() and gdb_get_float64() are now unused;
remove them.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
include/exec/gdbstub.h | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/include/exec/gdbstub.h b/include/exec/gdbstub.h
index ff0b7bc45ec..a024a0350df 100644
--- a/include/exec/gdbstub.h
+++ b/include/exec/gdbstub.h
@@ -135,26 +135,6 @@ static inline int gdb_get_reg128(GByteArray *buf, uint64_t
val_hi,
return 16;
}
-static inline int gdb_get_float32(GByteArray *array, float32 val)
-{
- uint8_t buf[sizeof(CPU_FloatU)];
-
- stfl_p(buf, val);
- g_byte_array_append(array, buf, sizeof(buf));
-
- return sizeof(buf);
-}
-
-static inline int gdb_get_float64(GByteArray *array, float64 val)
-{
- uint8_t buf[sizeof(CPU_DoubleU)];
-
- stfq_p(buf, val);
- g_byte_array_append(array, buf, sizeof(buf));
-
- return sizeof(buf);
-}
-
static inline int gdb_get_zeroes(GByteArray *array, size_t len)
{
guint oldlen = array->len;
--
2.20.1
- [PATCH 0/5] Drop float32/float64 accessors used by gdbstub code, Peter Maydell, 2021/02/08
- [PATCH 1/5] target/sh4: Drop use of gdb_get_float32() and ldfl_p(), Peter Maydell, 2021/02/08
- [PATCH 2/5] target/m68k: Drop use of gdb_get_float64() and ldfq_p(), Peter Maydell, 2021/02/08
- [PATCH 4/5] gdbstub: Remove unused gdb_get_float32() and gdb_get_float64(),
Peter Maydell <=
- [PATCH 3/5] target/ppc: Drop use of gdb_get_float64() and ldfq_p(), Peter Maydell, 2021/02/08
- [PATCH 5/5] bswap.h: Remove unused float-access functions, Peter Maydell, 2021/02/08
- Re: [PATCH 0/5] Drop float32/float64 accessors used by gdbstub code, Philippe Mathieu-Daudé, 2021/02/08
- Re: [PATCH 0/5] Drop float32/float64 accessors used by gdbstub code, Alex Bennée, 2021/02/09