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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

481 Views
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);

Labels (4)
0 Kudos
0 Replies