binutils-gdb/gdb/dwarf2
Tom Tromey 758ffab46b 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.
2022-05-04 08:38:05 -06:00
..
abbrev-cache.c
abbrev-cache.h
abbrev.c
abbrev.h
attribute.c
attribute.h
comp-unit-head.c
comp-unit-head.h
cooked-index.c
cooked-index.h Fix crash when creating index from index 2022-05-04 08:38:05 -06:00
cu.c
cu.h
die.h
dwz.c
dwz.h
expr.c
expr.h
file-and-dir.h
frame-tailcall.c
frame-tailcall.h
frame.c
frame.h
index-cache.c
index-cache.h
index-common.c
index-common.h
index-write.c Fix crash when creating index from index 2022-05-04 08:38:05 -06:00
index-write.h
leb.c
leb.h
line-header.c
line-header.h
loc.c
loc.h
macro.c
macro.h
mapped-index.h Fix crash when creating index from index 2022-05-04 08:38:05 -06:00
public.h
read.c
read.h
sect-names.h
section.c
section.h
stringify.c
stringify.h
tag.h Fix .debug_names regression with new indexer 2022-04-29 13:16:44 -06:00