cat /sys/module/xxx/sections/.text = 0x00000000 for gdb

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

cat /sys/module/xxx/sections/.text = 0x00000000 for gdb

511件の閲覧回数
fatalfeel
Contributor V

When cat /sys/module/hellotest/sections/.text = 0x00000000

Try this way

gedit /root/project_board/free_imx/myandroid/kernel_imx/kernel/module.c

//in function module_sect_show

return sprintf(buf, "0x%pK\n", (void *)sattr->address);

//change to

return sprintf(buf, "0x%p\n", (void *)sattr->address);

ラベル(4)
0 件の賞賛
0 返答(返信)