Use gdb::checked_static_cast for code_breakpoint
authorTom Tromey <tromey@adacore.com>
Fri, 15 Sep 2023 18:19:57 +0000 (12:19 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 19 Sep 2023 14:14:01 +0000 (08:14 -0600)
commit6a9196a65f1e98627eeb91af7862153fe7fc3232
tree0c05ed9c323997e1701d64dc3a11bdedcbf785b2
parent01bccc56af0f590c5ff64c24dea17fa3098572d7
Use gdb::checked_static_cast for code_breakpoint

This replaces some casts to 'code_breakpoint *' with
checked_static_cast.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/breakpoint.c
gdb/elfread.c