-----BEGIN PGP SIGNATURE-----

iQIcBAABAgAGBQJaY6CjAAoJENro4Ql1lpzlRwIP/079xfV2b7DLOB2fwl77O2pt
 fdzvw0MIYY7eWv4jV58F3mJxVEbhgDE9ie1MB0t9jsTHmNMvYSykOBh+UoRTKBsD
 Wwui/yRgSI3TKxZU4ASLhNjf+jnNs17vv2a7me+ZpIFPTMlenLTQjc80pOgBTVdt
 hDp5brTtkHbsJFLyJW7d4kdrzv7QX0zt+jcBlx1osiA9x/C7reqIOaMEgeTdfeGt
 dSoI9EeKwpsI4d9y2HoBOArVu7C7UZqJGR5K+L8aZRZjY5m8wAy2Il+lEWJVHgTs
 Wp401Fn7ltTNP5E9xT7vO0MfGfU7jAPQvU/IOcOZci5Pd+nqHe7gEDiEmn92E03N
 V7YjNjzMfqUtpSlI6rkXYPIGn6qDug4gKz00HxRgprQixgmOSH2vG2sCcLJnYAqA
 IRFHDTyg3Q5o+LzR1uopw7uBKVkn49W+GOt2Hj+OCKptq58LAsW1DNY6D1AbgM7C
 yvGG45jsiI/gzr7SbP8dtGpBqoBU4ERW1+U6w9h2gVpz2pDoZ0iWfKx2Lga9ymAX
 3OqKHVoGsEdk4CZf6mLqHHyzkAchiBDzerdQXQxLemaeoJaesdkg+UUnra8pYlKu
 pCVe3t4qLluU4IsiIhx/T3Trx7mZo3uJvmoky4LpjQ70vGkn05G1awFsWVaF182v
 lIVajpHaKRhC549+k7J2
 =amFm
 -----END PGP SIGNATURE-----

Merge remote-tracking branch 'remotes/elmarco/tags/dump-pull-request' into staging

# gpg: Signature made Sat 20 Jan 2018 20:03:47 GMT
# gpg:                using RSA key 0xDAE8E10975969CE5
# gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>"
# gpg:                 aka "Marc-André Lureau <marcandre.lureau@gmail.com>"
# Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5

* remotes/elmarco/tags/dump-pull-request:
  dump-guest-memory.py: fix python 2 support

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Peter Maydell 2018-01-22 11:37:49 +00:00
commit 6df5551704

View File

@ -564,7 +564,7 @@ shape and this command should mostly work."""
vmcoreinfo = self.phys_memory_read(addr, size)
if vmcoreinfo:
self.elf.add_vmcoreinfo_note(vmcoreinfo.tobytes())
self.elf.add_vmcoreinfo_note(bytes(vmcoreinfo))
def invoke(self, args, from_tty):
"""Handles command invocation from gdb."""