[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/18] gdbstub: Make gdb_get_char() static
From: |
Ilya Leoshkevich |
Subject: |
[PATCH 01/18] gdbstub: Make gdb_get_char() static |
Date: |
Mon, 23 Sep 2024 18:12:56 +0200 |
It's user-only since commit a7e0f9bd2ace ("gdbstub: abstract target
specific details from gdb_put_packet_binary").
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
---
gdbstub/internals.h | 2 --
gdbstub/user.c | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/gdbstub/internals.h b/gdbstub/internals.h
index bf5a5c63029..5acc36846f3 100644
--- a/gdbstub/internals.h
+++ b/gdbstub/internals.h
@@ -142,8 +142,6 @@ void gdb_create_default_process(GDBState *s);
int gdb_signal_to_target(int sig);
int gdb_target_signal_to_gdb(int sig);
-int gdb_get_char(void); /* user only */
-
/**
* gdb_continue() - handle continue in mode specific way.
*/
diff --git a/gdbstub/user.c b/gdbstub/user.c
index b36033bc7a2..6a493c5ba3a 100644
--- a/gdbstub/user.c
+++ b/gdbstub/user.c
@@ -103,7 +103,7 @@ typedef struct {
static GDBUserState gdbserver_user_state;
-int gdb_get_char(void)
+static int gdb_get_char(void)
{
uint8_t ch;
int ret;
--
2.46.0
- [PATCH 03/18] gdbstub: Move gdb_syscall_mode to GDBSyscallState, (continued)
- [PATCH 03/18] gdbstub: Move gdb_syscall_mode to GDBSyscallState, Ilya Leoshkevich, 2024/09/23
- [PATCH 02/18] gdbstub: Move phy_memory_mode to GDBSystemState, Ilya Leoshkevich, 2024/09/23
- [PATCH 04/18] gdbstub: Factor out gdb_try_stop(), Ilya Leoshkevich, 2024/09/23
- [PATCH 08/18] replay: Add replay_mutex_{lock, unlock}() stubs for qemu-user, Ilya Leoshkevich, 2024/09/23
- [PATCH 10/18] cpu: Use BQL in qemu-user, Ilya Leoshkevich, 2024/09/23
- [PATCH 16/18] cpu: Allow pausing and resuming CPUs in qemu-user, Ilya Leoshkevich, 2024/09/23
- [PATCH 05/18] accel/tcg: Factor out cpu_exec_user(), Ilya Leoshkevich, 2024/09/23
- [PATCH 15/18] cpu: Set current_cpu early in qemu-user, Ilya Leoshkevich, 2024/09/23
- [PATCH 14/18] cpu: Introduce cpu_is_paused(), Ilya Leoshkevich, 2024/09/23
- [PATCH 12/18] cpu: Track CPUs executing syscalls, Ilya Leoshkevich, 2024/09/23
- [PATCH 01/18] gdbstub: Make gdb_get_char() static,
Ilya Leoshkevich <=
- [PATCH 09/18] qemu-timer: Provide qemu_clock_enable() stub for qemu-user, Ilya Leoshkevich, 2024/09/23
- [PATCH 06/18] qemu-thread: Introduce QEMU_MUTEX_INITIALIZER, Ilya Leoshkevich, 2024/09/23
- [PATCH 18/18] tests/tcg: Stress test thread breakpoints, Ilya Leoshkevich, 2024/09/23
- [PATCH 13/18] cpu: Implement cpu_thread_is_idle() for qemu-user, Ilya Leoshkevich, 2024/09/23
- [PATCH 07/18] qemu-thread: Introduce QEMU_COND_INITIALIZER, Ilya Leoshkevich, 2024/09/23
- [PATCH 11/18] accel/tcg: Unify user implementations of qemu_cpu_kick(), Ilya Leoshkevich, 2024/09/23
- [PATCH 17/18] gdbstub: Pause all CPUs before sending stop replies, Ilya Leoshkevich, 2024/09/23
- Re: [PATCH 00/18] Stop all qemu-cpu threads on a breakpoint, Ilya Leoshkevich, 2024/09/23
- Re: [PATCH 00/18] Stop all qemu-cpu threads on a breakpoint, Richard Henderson, 2024/09/25