Use gdb::checked_static_cast for catchpoints
authorTom Tromey <tromey@adacore.com>
Fri, 15 Sep 2023 18:22:47 +0000 (12:22 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 19 Sep 2023 14:14:01 +0000 (08:14 -0600)
commit8e032233a013cedc72c52b57a349c47522138594
treefb29349de293292faf56aad7970cb0485f829878
parent6a9196a65f1e98627eeb91af7862153fe7fc3232
Use gdb::checked_static_cast for catchpoints

This replaces some casts to various kinds of catchpoint with
checked_static_cast.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/ada-lang.c
gdb/break-catch-sig.c
gdb/break-catch-syscall.c