]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb] Eliminate catch(...) in target_wait
authorTom de Vries <tdevries@suse.de>
Tue, 24 Sep 2024 11:55:50 +0000 (13:55 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 24 Sep 2024 11:55:50 +0000 (13:55 +0200)
commitf3f21aa9f90ccbcf73779b167aaee0fb6bbd3f4d
tree0000eb4ad1f5376435853c82094baf8d306997ca
parent7fd46e6b2ac5a30ecb33b4b290d824247cb68a20
[gdb] Eliminate catch(...) in target_wait

Remove duplicate code in target_wait using SCOPE_EXIT.

Tested on aarch64-linux.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/target.c