]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb] Eliminate catch(...) in execute_fn_to_string
authorTom de Vries <tdevries@suse.de>
Tue, 24 Sep 2024 11:50:19 +0000 (13:50 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 24 Sep 2024 11:50:19 +0000 (13:50 +0200)
commit7fd46e6b2ac5a30ecb33b4b290d824247cb68a20
tree42fe205e04be1bd76c5c59782ae7c9d70237fe0c
parent6078478a9075a3ad3d1370dc540e11425948074c
[gdb] Eliminate catch(...) in execute_fn_to_string

Remove duplicate code in execute_fn_to_string using SCOPE_EXIT.

Tested on aarch64-linux.

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