Why gdb casting is not working?

前端 未结 4 1248
遥遥无期
遥遥无期 2020-12-23 21:24

I use print (CEthPacket*) 0xeb609a0 to examine an object at the given address and get A syntax error in expression, near \') 0xeb609a0\'.

W

4条回答
  •  长情又很酷
    2020-12-23 21:57

    Also your starting namespace is the one from current stack. If you want to start from root you have to use ::NS1::NS2::Obj.

提交回复
热议问题