diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2019-02-07 14:20:46 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-02-07 14:20:46 +0000 |
commit | 632351e0e1a861f2eaf709b053c53f96a1225825 (patch) | |
tree | 3636387d8e927193348c8c8f820f1813c7e45a8d /scripts | |
parent | 1dca0549557caf962dc12dc0c225a98a6f2d5fa7 (diff) | |
parent | e17bebd049d78f489c2cff755e2b66a0536a156e (diff) | |
download | qemu-632351e0e1a861f2eaf709b053c53f96a1225825.zip qemu-632351e0e1a861f2eaf709b053c53f96a1225825.tar.gz qemu-632351e0e1a861f2eaf709b053c53f96a1225825.tar.bz2 |
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.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/dump-guest-memory.py b/scripts/dump-guest-memory.py index 198cd0f..2c587cb 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) |