diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-12-12 17:27:58 +0100 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-01-02 14:49:54 +0100 |
| commit | c3b1642b9b6b3ba4314d6be3be509d396372cfd5 (patch) | |
| tree | e068590df7c404eed261e319f797cc0e38450947 /hw/net/e1000e_core.c | |
| parent | c983ca845782bf91171b5ec4e59d122a21229745 (diff) | |
| download | focaccia-qemu-c3b1642b9b6b3ba4314d6be3be509d396372cfd5.tar.gz focaccia-qemu-c3b1642b9b6b3ba4314d6be3be509d396372cfd5.zip | |
dump-guest-memory.py: fix "You can't do that without a process to debug"
If the script is run with a core (no running process), it produces an error: (gdb) dump-guest-memory /tmp/vmcore X86_64 guest RAM blocks: target_start target_end host_addr message count ---------------- ---------------- ---------------- ------- ----- 0000000000000000 00000000000a0000 00007f7935800000 added 1 00000000000a0000 00000000000b0000 00007f7934200000 added 2 00000000000c0000 00000000000ca000 00007f79358c0000 added 3 00000000000ca000 00000000000cd000 00007f79358ca000 joined 3 00000000000cd000 00000000000e8000 00007f79358cd000 joined 3 00000000000e8000 00000000000f0000 00007f79358e8000 joined 3 00000000000f0000 0000000000100000 00007f79358f0000 joined 3 0000000000100000 0000000080000000 00007f7935900000 joined 3 00000000fd000000 00000000fe000000 00007f7934200000 added 4 00000000fffc0000 0000000100000000 00007f7935600000 added 5 Python Exception <class 'gdb.error'> You can't do that without a process to debug.: Error occurred in Python command: You can't do that without a process to debug. Replace the object_resolve_path_type() function call with a local volatile variable. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'hw/net/e1000e_core.c')
0 files changed, 0 insertions, 0 deletions