summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Maydell2019-02-07 15:20:46 +0100
committerPeter Maydell2019-02-07 15:20:46 +0100
commit632351e0e1a861f2eaf709b053c53f96a1225825 (patch)
tree3636387d8e927193348c8c8f820f1813c7e45a8d /scripts
parentMerge remote-tracking branch 'remotes/rth/tags/pull-hppa-20190206' into staging (diff)
parentdump: Set correct vaddr for ELF dump (diff)
downloadqemu-632351e0e1a861f2eaf709b053c53f96a1225825.tar.gz
qemu-632351e0e1a861f2eaf709b053c53f96a1225825.tar.xz
qemu-632351e0e1a861f2eaf709b053c53f96a1225825.zip
Merge remote-tracking branch 'remotes/elmarco/tags/dump-pull-request' into staging
Pull request # gpg: Signature made Wed 06 Feb 2019 14:57:54 GMT # gpg: using RSA key DAE8E10975969CE5 # gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>" [full] # gpg: aka "Marc-André Lureau <marcandre.lureau@gmail.com>" [full] # Primary key fingerprint: 87A9 BD93 3F87 C606 D276 F62D DAE8 E109 7596 9CE5 * remotes/elmarco/tags/dump-pull-request: dump: Set correct vaddr for ELF dump Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/dump-guest-memory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/dump-guest-memory.py b/scripts/dump-guest-memory.py
index 198cd0fe40..2c587cbefc 100644
--- a/scripts/dump-guest-memory.py
+++ b/scripts/dump-guest-memory.py
@@ -163,6 +163,7 @@ class ELF(object):
phdr = get_arch_phdr(self.endianness, self.elfclass)
phdr.p_type = p_type
phdr.p_paddr = p_paddr
+ phdr.p_vaddr = p_paddr
phdr.p_filesz = p_size
phdr.p_memsz = p_size
self.segments.append(phdr)