|
@@ -564,7 +564,7 @@ def add_vmcoreinfo(self):
|
|
|
|
|
|
vmcoreinfo = self.phys_memory_read(addr, size)
|
|
vmcoreinfo = self.phys_memory_read(addr, size)
|
|
if vmcoreinfo:
|
|
if vmcoreinfo:
|
|
- self.elf.add_vmcoreinfo_note(vmcoreinfo.tobytes())
|
|
|
|
|
|
+ self.elf.add_vmcoreinfo_note(bytes(vmcoreinfo))
|
|
|
|
|
|
def invoke(self, args, from_tty):
|
|
def invoke(self, args, from_tty):
|
|
"""Handles command invocation from gdb."""
|
|
"""Handles command invocation from gdb."""
|