qemu/gdbstub
Alex Bennée c0e6b8b798 system: propagate Error to gdbserver_start (and other device setups)
This started as a clean-up to properly pass a Error handler to the
gdbserver_start so we could do the right thing for command line and
HMP invocations.

Now that we have cleaned up foreach_device_config_or_exit() in earlier
patches we can further simplify by it by passing &error_fatal instead
of checking the return value. Having a return value is still useful
for HMP though so tweak the return to use a simple bool instead.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250116160306.1709518-11-alex.bennee@linaro.org>
2025-01-17 10:44:25 +00:00
..
gdbstub.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
internals.h gdbstub: Make hex conversion function non-internal 2024-07-05 12:35:19 +01:00
meson.build meson: Drop the .fa library suffix 2024-07-03 18:41:26 +02:00
syscalls.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
system.c system: propagate Error to gdbserver_start (and other device setups) 2025-01-17 10:44:25 +00:00
trace-events gdbstub: Rename 'softmmu' -> 'system' 2023-10-07 19:02:59 +02:00
trace.h gdbstub: move into its own sub directory 2022-10-06 11:53:41 +01:00
user-target.c license: Update deprecated SPDX tag LGPL-2.0+ to LGPL-2.0-or-later 2024-09-20 10:11:59 +03:00
user.c system: propagate Error to gdbserver_start (and other device setups) 2025-01-17 10:44:25 +00:00