OSDN Git Service

elf2dmp: rework PDB_STREAM_INDEXES::segments obtaining
authorViktor Prutyanov <viktor@daynix.com>
Fri, 15 Sep 2023 17:01:53 +0000 (20:01 +0300)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Sep 2023 15:13:54 +0000 (16:13 +0100)
commit231f6a7d66254a58bedbee458591b780e0a507b1
tree90530b89f2c2ed2746fe0ce5a24878ee27a0bf30
parentdf7a75564e72b61213d5355c9ba8215244bb83bd
elf2dmp: rework PDB_STREAM_INDEXES::segments obtaining

PDB for Windows 11 kernel has slightly different structure compared to
previous versions. Since elf2dmp don't use the other fields, copy only
'segments' field from PDB_STREAM_INDEXES.

Signed-off-by: Viktor Prutyanov <viktor@daynix.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-id: 20230915170153.10959-6-viktor@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
contrib/elf2dmp/pdb.c
contrib/elf2dmp/pdb.h