mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge remote-tracking branch 'remotes/elmarco/tags/dump-pull-request' into staging
# gpg: Signature made Thu 01 Feb 2018 11:15:42 GMT # gpg: using RSA key DAE8E10975969CE5 # 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: skip vmcoreinfo section if not available Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
@@ -546,6 +546,8 @@ shape and this command should mostly work."""
|
||||
return None
|
||||
|
||||
def add_vmcoreinfo(self):
|
||||
if gdb.lookup_symbol("vmcoreinfo_realize")[0] is None:
|
||||
return
|
||||
vmci = 'vmcoreinfo_realize::vmcoreinfo_state'
|
||||
if not gdb.parse_and_eval("%s" % vmci) \
|
||||
or not gdb.parse_and_eval("(%s)->has_vmcoreinfo" % vmci):
|
||||
|
||||
Reference in New Issue
Block a user