Branch: refs/heads/master
  Commit: ce6b9e421a9ab45d7e6c97af092a07c049954444
  Author: Marc-André Lureau <>
  Date:   2018-02-01 (Thu, 01 Feb 2018)

  Changed paths:
    M scripts/

  Log Message:
  ----------- skip vmcoreinfo section if not available

On some architectures, qemu doesn't support vmcoreinfo device,
and dump-guest-memory fails:

(gdb) dump-guest-memory /tmp/vmcore  ppc64-le
guest RAM blocks:
target_start     target_end       host_addr        message count
---------------- ---------------- ---------------- ------- -----
0000000000000000 0000000200000000 00003ffd86980000 added       1
0000200080000000 0000200080800000 00003ffd86170000 added       2
Python Exception <class 'gdb.error'> No symbol "vmcoreinfo_realize" in current 
Error occurred in Python command: No symbol "vmcoreinfo_realize" in current 

Check that vmcoreinfo_realize symbol exists before evaluating an
expression with it.

Signed-off-by: Marc-André Lureau <>
Reviewed-by: Laszlo Ersek <>

  Commit: e486b528229ed4ed5dfdac790c8152bfb2a265c9
  Author: Peter Maydell <>
  Date:   2018-02-02 (Fri, 02 Feb 2018)

  Changed paths:
    M scripts/

  Log Message:
  Merge remote-tracking branch 'remotes/elmarco/tags/dump-pull-request' into 

# gpg: Signature made Thu 01 Feb 2018 11:15:42 GMT
# gpg:                using RSA key DAE8E10975969CE5
# gpg: Good signature from "Marc-André Lureau <>"
# gpg:                 aka "Marc-André Lureau <>"
# Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5

* remotes/elmarco/tags/dump-pull-request: skip vmcoreinfo section if not available

Signed-off-by: Peter Maydell <>


Reply via email to