qemu-e2k/gdbstub
Ilya Leoshkevich e4e5cb4a54 {linux,bsd}-user: Introduce get_task_state()
A CPU's TaskState is stored in the CPUState's void *opaque field,
accessing which is somewhat awkward due to having to use a cast.
Introduce a wrapper and use it everywhere.

Suggested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240219141628.246823-3-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240305121005.3528075-4-alex.bennee@linaro.org>
2024-03-06 12:35:19 +00:00
..
gdbstub.c gdbstub: expose api to find registers 2024-02-28 09:11:42 +00:00
internals.h gdbstub: Implement catching syscalls 2024-02-09 17:52:40 +00:00
meson.build meson: remove config_targetos 2023-12-31 09:11:28 +01:00
syscalls.c
system.c gdbstub: use a better signal when we halt for IO reasons 2023-12-01 14:00:52 +00:00
trace-events gdbstub: Rename 'softmmu' -> 'system' 2023-10-07 19:02:59 +02:00
trace.h
user-target.c {linux,bsd}-user: Introduce get_task_state() 2024-03-06 12:35:19 +00:00
user.c gdbstub: Support disablement in a multi-threaded process 2024-03-06 12:35:19 +00:00