| commit | d2f803afd5a3ae16933a3adb8dca9b16a01551ce | [log] [tgz] |
|---|---|---|
| author | Tom Tromey <tromey@adacore.com> | Mon Dec 12 10:17:18 2022 -0700 |
| committer | Tom Tromey <tromey@adacore.com> | Tue Dec 13 12:51:53 2022 -0700 |
| tree | 752288a27719431d1e4e22255af6b94e0aac551a | |
| parent | 12bc5170ee9c498cd1a2be0e2dacbe5083ceb70e [diff] |
Use gdb::optional for sigint_ours sigint_ours (and sigquit_ours) can be used without being set. Avoid this problem by changing them to gdb::optional and checking that they are in fact set before using the value.