开发者

How can I debug (GDB) the 32-bit part of a 64-bit application?

I have an app that is 64- and 32-bit-compatible. If I open the app through gdb (exec-fi开发者_运维百科le app), it opens the 64-bit part of the app. How can I open the 32-bit part instead?

Is there an argument that I have missed?


Apparently it can be done by setting a parameter for gdb:

gdb -arch i386

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜