qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] e17beb: dump: Set correct vaddr for ELF dump


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] e17beb: dump: Set correct vaddr for ELF dump
Date: Thu, 07 Feb 2019 06:54:32 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: e17bebd049d78f489c2cff755e2b66a0536a156e
      
https://github.com/qemu/qemu/commit/e17bebd049d78f489c2cff755e2b66a0536a156e
  Author: Jon Doron <address@hidden>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M dump.c
    M scripts/dump-guest-memory.py

  Log Message:
  -----------
  dump: Set correct vaddr for ELF dump

vaddr needs to be equal to the paddr since the dump file represents the
physical memory image.

Without setting vaddr correctly, GDB would load all the different memory
regions on top of each other to vaddr 0, thus making GDB showing the wrong
memory data for a given address.

Signed-off-by: Jon Doron <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Tested-by: Marc-André Lureau <address@hidden>
Acked-by: Laszlo Ersek <address@hidden>


  Commit: 632351e0e1a861f2eaf709b053c53f96a1225825
      
https://github.com/qemu/qemu/commit/632351e0e1a861f2eaf709b053c53f96a1225825
  Author: Peter Maydell <address@hidden>
  Date:   2019-02-07 (Thu, 07 Feb 2019)

  Changed paths:
    M dump.c
    M scripts/dump-guest-memory.py

  Log Message:
  -----------
  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 <address@hidden>" [full]
# gpg:                 aka "Marc-André Lureau <address@hidden>" [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 <address@hidden>


Compare: https://github.com/qemu/qemu/compare/1dca0549557c...632351e0e1a8



reply via email to

[Prev in Thread] Current Thread [Next in Thread]