contrib/elf2dmp: Use GPtrArray
commit0c94e32dff020f868a8125c5314fe9f318a8215d
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 7 Mar 2024 10:21:00 +0000 (7 19:21 +0900)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 11 Mar 2024 17:06:27 +0000 (11 17:06 +0000)
treedbd84aa5a56a85000c3c2afd6d486064b9d5d426
parenta2de23c6e3e840e3e96ad0bb9e4314988e5a2f42
contrib/elf2dmp: Use GPtrArray

This removes the need to enumarate QEMUCPUState twice and saves code.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Message-id: 20240307-elf2dmp-v4-17-4f324ad4d99d@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
contrib/elf2dmp/qemu_elf.c