[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 13/15] gdbstub: Remove unused gdb_get_float32() and gdb_get_fl
From: |
Alex Bennée |
Subject: |
[PATCH v1 13/15] gdbstub: Remove unused gdb_get_float32() and gdb_get_float64() |
Date: |
Thu, 11 Feb 2021 12:27:48 +0000 |
From: Peter Maydell <peter.maydell@linaro.org>
The functions gdb_get_float32() and gdb_get_float64() are now unused;
remove them.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210208113428.7181-5-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 ff0b7bc45e..a024a0350d 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 v1 02/15] travis.yml: Move the -fsanitize=undefined test to the gitlab-CI, (continued)
- [PATCH v1 02/15] travis.yml: Move the -fsanitize=undefined test to the gitlab-CI, Alex Bennée, 2021/02/11
- [PATCH v1 03/15] travis.yml: Move the --enable-modules test to the gitlab-CI, Alex Bennée, 2021/02/11
- [PATCH v1 04/15] travis.yml: (Re-)move the --enable-debug jobs, Alex Bennée, 2021/02/11
- [PATCH v1 06/15] .shippable: remove the last bits, Alex Bennée, 2021/02/11
- [PATCH v1 05/15] travis.yml: Move the -fsanitize=thread testing to the gitlab-CI, Alex Bennée, 2021/02/11
- [PATCH v1 07/15] travis-ci: Disable C++ optional objects on AArch64 container, Alex Bennée, 2021/02/11
- [PATCH v1 08/15] tests/docker: remove travis container, Alex Bennée, 2021/02/11
- [PATCH v1 11/15] target/m68k: Drop use of gdb_get_float64() and ldfq_p(), Alex Bennée, 2021/02/11
- [PATCH v1 10/15] target/sh4: Drop use of gdb_get_float32() and ldfl_p(), Alex Bennée, 2021/02/11
- [PATCH v1 14/15] bswap.h: Remove unused float-access functions, Alex Bennée, 2021/02/11
- [PATCH v1 13/15] gdbstub: Remove unused gdb_get_float32() and gdb_get_float64(),
Alex Bennée <=
- [PATCH v1 09/15] MAINTAINERS: Add gdbstub.h to the "GDB stub" section, Alex Bennée, 2021/02/11
- [PATCH v1 15/15] tests/tcg: fix silent skipping of softmmu gdb tests, Alex Bennée, 2021/02/11
- [PATCH v1 12/15] target/ppc: Drop use of gdb_get_float64() and ldfq_p(), Alex Bennée, 2021/02/11