小编Dew*_*Dew的帖子

如何解释GDB"信息框架"输出?

有人可以帮我理解这个: -

(gdb) info frame
Stack level 0, frame at 0xb75f7390:
 eip = 0x804877f in base::func() (testing.cpp:16); saved eip 0x804869a
 called by frame at 0xb75f73b0
 source language c++.
 Arglist at 0xb75f7388, args: this=0x0
 Locals at 0xb75f7388, Previous frame's sp is 0xb75f7390
 Saved registers:
  ebp at 0xb75f7388, eip at 0xb75f738c
Run Code Online (Sandbox Code Playgroud)

什么是"ebp,eip Locals at和Previous Frame's sp"是什么意思?请解释

gdb

43
推荐指数
2
解决办法
2万
查看次数

成员函数定义中的内联关键字

为什么在成员函数的定义中应该使用inline关键字.而不是声明?

c++

4
推荐指数
1
解决办法
855
查看次数

标签 统计

c++ ×1

gdb ×1