[Crash-utility] fix bug of struct command
qiaonuohan
qiaonuohan at cn.fujitsu.com
Fri Apr 12 07:26:15 UTC 2013
Hello Dave,
The attachment is used to fix a bug of struct command.
When using command like below, struct command displays wrong data.
<cut>
crash> task_struct.fs ffff88003dfb5540
fs = 140234226652928
crash> task_struct ffff88003dfb5540
...
es = 0,
ds = 0,
fsindex = 0,
gsindex = 0,
*fs = 140234226652928,*
gs = 0,
debugreg0 = 0,
...
io_bitmap_ptr = 0x0,
iopl = 0,
io_bitmap_max = 0
},
*fs = 0xffff880037795f00,*
files = 0xffff8800371b6940,
...
<cut>
fs showed by struct command is a member of "struct thread_struct thread;",
not struct task_struct. This bug is involved by adding support to anonymous
member modified by me...
--
--
Regards
Qiao Nuohan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-bug-of-struct-command.patch
Type: application/octet-stream
Size: 1235 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20130412/50f049d0/attachment.obj>
More information about the Crash-utility
mailing list