gdb: convert maintenance target-async and target-non-stop settings to callbacks
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 25 Nov 2021 03:11:58 +0000 (22:11 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Wed, 26 Jan 2022 17:47:50 +0000 (12:47 -0500)
commitfdf1350dc13b66c0b2c9c961c28e37d993023d5a
treee82000d3b7010a8cec20342ab03739c3d407bb00
parent91ddba836c22cb95fef94a422d8dc573591eb4ae
gdb: convert maintenance target-async and target-non-stop settings to callbacks

This simplifies things a bit, as we don't need two variables and think
about reverting target_async_permitted_1 and target_non_stop_enabled_1
values if we can't change the setting.

Change-Id: I36acab045dacf02ae1988486cfdb27c1dff309f6
gdb/target.c