| commit | 47e2c30aacff6c50a2557c86cc00f411b750805b | [log] [tgz] |
|---|---|---|
| author | Tom de Vries <tdevries@suse.de> | Tue Oct 25 11:32:41 2022 +0200 |
| committer | Tom de Vries <tdevries@suse.de> | Tue Oct 25 11:32:41 2022 +0200 |
| tree | 4f33f3937bdc4897e6c0b81c927d523b621475ba | |
| parent | a5a0a4fd0ff536a8dbd532864cfc095a306b678c [diff] |
[gdb] Rewrite RETHROW_ON_TARGET_CLOSE_ERROR into function
Recent commit b2829fcf9b5 ("[gdb] Fix rethrow exception slicing in
insert_bp_location") introduced macro RETHROW_ON_TARGET_CLOSE_ERROR.
I wrote this as a macro in order to have the rethrowing throw be part of the
same function as the catch, but as it turns out that's not necessary.
Rewrite into a function.
Tested on x86_64-linux.