diff options
author | Tom Tromey <tromey@adacore.com> | 2022-12-12 10:17:18 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-12-13 12:51:53 -0700 |
commit | d2f803afd5a3ae16933a3adb8dca9b16a01551ce (patch) | |
tree | 752288a27719431d1e4e22255af6b94e0aac551a /gdb/mingw-hdep.c | |
parent | 12bc5170ee9c498cd1a2be0e2dacbe5083ceb70e (diff) | |
download | fsf-binutils-gdb-d2f803afd5a3ae16933a3adb8dca9b16a01551ce.zip fsf-binutils-gdb-d2f803afd5a3ae16933a3adb8dca9b16a01551ce.tar.gz fsf-binutils-gdb-d2f803afd5a3ae16933a3adb8dca9b16a01551ce.tar.bz2 |
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.
Diffstat (limited to 'gdb/mingw-hdep.c')
0 files changed, 0 insertions, 0 deletions