(gdb) x myplus
0x5f250b70 <_Z6myplusii>: 0x47701840
(gdb) call (int)myplus(2,3)
(gdb) Entry point address is not known.
(gdb) call (int)0x5f250b70(2,3)
(gdb) Entry point address is not known.
(gdb) p (int)0x5f250b70(2,3)
(gdb) Entry point address is not known.
当call自己的函数时候出现了Entry point address is not known.错误,不知道是不是我写错了。
小弟是刚刚从ios平台转战android平台的,在ios平台里面,call (int)myplus(2,3) 这样写
是可以调用的,不知道android平台是不是也这样写?
小弟google了1天,没有找到有用的信息,甚是沮丧...
希望大神看见了帮帮小弟,赐教一二,谢谢了!
这帖子不行啊,
(gdb) set $box = malloc(4)
(gdb) Entry point address is not known.
(gdb) call malloc(4)
(gdb) Entry point address is not known.
(gdb) call malloc(0x4)
(gdb) Entry point address is not known.
(gdb) call (void*)malloc(0x4)
(gdb) Entry point address is not known.