this is debian bug https://bugs.debian.org/832641 : dump -A somefile creates an empty toc file.
the root cause is that the recent change to plugins for indexing broke communication of the 'Afile' fd that dump/main sets, but common/legacy_indexer must write to (static declarations in both files).
the attached tiny patch resolves this - for now; eventually the plugin environment will have to tackle param/option passing...
please don't inline comments like that. nowhere else does it, and it just makes the code hard to read.
i've posted a slightly diff fix in commit 3ef90af13a4d9cd9e7c7ad0b89b43993ee91ca96. thanks for the report!