Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crash/kdump/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:

import gdb
from kdumpfile import kdumpfile
from kdumpfile import kdumpfile, KDUMP_KVADDR
from util import list_for_each_entry
from kdumpfile.exceptions import *

Expand Down Expand Up @@ -78,7 +78,7 @@ def to_xfer_partial(self, obj, annex, readbuf, writebuf, offset, ln):
ret = -1
if obj == self.TARGET_OBJECT_MEMORY:
try:
r = self.kdump.read (self.kdump.KDUMP_KVADDR, offset, ln)
r = self.kdump.read (KDUMP_KVADDR, offset, ln)
readbuf[:] = r
ret = ln
except EOFException, e:
Expand Down