diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-10-10 14:03:18 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-10-19 10:57:51 -0400 |
commit | 3fcbae9d9c7cdc4103c4f494f5d3c63b373617ee (patch) | |
tree | 1b9c686e8c012c529b370245beb56262fde7f8bc /gdb/bsd-uthread.c | |
parent | e3b63a7910ac7a4ee959af20a544075becbf2671 (diff) | |
download | gdb-3fcbae9d9c7cdc4103c4f494f5d3c63b373617ee.zip gdb-3fcbae9d9c7cdc4103c4f494f5d3c63b373617ee.tar.gz gdb-3fcbae9d9c7cdc4103c4f494f5d3c63b373617ee.tar.bz2 |
gdb: use gdb::checked_static_cast when casting lm_info
Now that the lm_info class hierarchy has a virtual destructor and
therefore a vtable, use checked_static_cast instead of C-style cases to
ensure (when building in dev mode) that we're casting to the right kind
of lm_info.
Change-Id: I9a99b7d6aa9a44edbe76377d57a7008cfb75a744
Approved-By: Pedro Alves <pedro@palves.net>
Reviewed-By: Reviewed-By: Lancelot Six <lancelot.six@amd.com>
Diffstat (limited to 'gdb/bsd-uthread.c')
0 files changed, 0 insertions, 0 deletions