mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge remote-tracking branch 'remotes/dgilbert/tags/pull-hmp-20170331' into staging
HMP pull (one bugfix) # gpg: Signature made Fri 31 Mar 2017 11:57:17 BST # gpg: using RSA key 0x0516331EBC5BFDE7 # gpg: Good signature from "Dr. David Alan Gilbert (RH2) <dgilbert@redhat.com>" # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: 45F5 C71B 4A0C B7FB 977A 9FA9 0516 331E BC5B FDE7 * remotes/dgilbert/tags/pull-hmp-20170331: hmp: fix "dump-quest-memory" segfault Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
@@ -391,8 +391,7 @@ int cpu_get_dump_info(ArchDumpInfo *info,
|
||||
|
||||
#ifdef TARGET_X86_64
|
||||
X86CPU *first_x86_cpu = X86_CPU(first_cpu);
|
||||
|
||||
lma = !!(first_x86_cpu->env.hflags & HF_LMA_MASK);
|
||||
lma = first_cpu && (first_x86_cpu->env.hflags & HF_LMA_MASK);
|
||||
#endif
|
||||
|
||||
if (lma) {
|
||||
|
||||
Reference in New Issue
Block a user