Use checked_static_cast in more places
authorTom Tromey <tom@tromey.com>
Sat, 24 Sep 2022 19:34:09 +0000 (13:34 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 16 Oct 2022 16:50:47 +0000 (10:50 -0600)
commit98ed24fb35d89eb20179edf6c12f599c7a9e228e
tree222be496751ed4e4bdacc9beb242715e6ab8f696
parent45685a2fd86073e76a772c5b677f14f8465a5040
Use checked_static_cast in more places

I looked through all the uses of static_cast<... *> in gdb and
converted many of them to checked_static_cast.

I couldn't test a few of these changes.
gdb/aix-thread.c
gdb/breakpoint.c
gdb/darwin-nat.h
gdb/dwarf2/read.c
gdb/linux-thread-db.c
gdb/location.c
gdb/nto-tdep.h
gdb/process-stratum-target.h
gdb/remote.c