diff options
author | Gustavo Romero <gustavo.romero@linaro.org> | 2024-03-09 03:08:57 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2024-03-13 11:43:52 +0000 |
commit | b6617e937e9abe6ce449729e2fdebf11014f7e49 (patch) | |
tree | 175a59d2b451b6fdd3a820b68771e77dfcc9dc9c /linux-user | |
parent | 578774c09a89dd1e3023677aad5ebb7a3562c8ba (diff) | |
download | qemu-b6617e937e9abe6ce449729e2fdebf11014f7e49.zip qemu-b6617e937e9abe6ce449729e2fdebf11014f7e49.tar.gz qemu-b6617e937e9abe6ce449729e2fdebf11014f7e49.tar.bz2 |
gdbstub: Rename back gdb_handlesig
Rename gdb_handlesig_reason back to gdb_handlesig. There is no need to
add a wrapper for gdb_handlesig and rename it when a new parameter is
added.
Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240309030901.1726211-2-gustavo.romero@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/main.c | 2 | ||||
-rw-r--r-- | linux-user/signal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 41caa77..55aa11c 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -1018,7 +1018,7 @@ int main(int argc, char **argv, char **envp) gdbstub); exit(EXIT_FAILURE); } - gdb_handlesig(cpu, 0); + gdb_handlesig(cpu, 0, NULL); } #ifdef CONFIG_SEMIHOSTING diff --git a/linux-user/signal.c b/linux-user/signal.c index 1aebf3f..b705625 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -1178,7 +1178,7 @@ static void handle_pending_signal(CPUArchState *cpu_env, int sig, /* dequeue signal */ k->pending = 0; - sig = gdb_handlesig(cpu, sig); + sig = gdb_handlesig(cpu, sig, NULL); if (!sig) { sa = NULL; handler = TARGET_SIG_IGN; |