diff options
author | Tom Tromey <tromey@adacore.com> | 2022-04-21 11:20:22 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-05-04 08:38:05 -0600 |
commit | 758ffab46b5b6c4f0a145e8833f24ba72a4259e4 (patch) | |
tree | affcc008bad0e690b46a576e84cf8e373a366efc /bfd/elf64-ppc.c | |
parent | d8a735330883faa2670ccf70880f04b3c29683ed (diff) | |
download | fsf-binutils-gdb-758ffab46b5b6c4f0a145e8833f24ba72a4259e4.zip fsf-binutils-gdb-758ffab46b5b6c4f0a145e8833f24ba72a4259e4.tar.gz fsf-binutils-gdb-758ffab46b5b6c4f0a145e8833f24ba72a4259e4.tar.bz2 |
Fix crash when creating index from index
My patches yesterday to unify the DWARF index base classes had a bug
-- namely, I did the wholesale dynamic_cast-to-static_cast too hastily
and introduced a crash. This can be seen by trying to add an index to
a file that has an index, or by running a test like gdb-index-cxx.exp
using the cc-with-debug-names.exp target board.
This patch fixes the crash by introducing a new virtual method and
removing some of the static casts.
Diffstat (limited to 'bfd/elf64-ppc.c')
0 files changed, 0 insertions, 0 deletions