“调试符号”的含义关于GDB
维基百科说:
调试符号是表示哪些编程语言结构在给定可执行模块中生成特定机器代码的信息。
是否有任何关于为此目的使用何种编程语言结构的示例?
在此上下文中“构造”的含义是什么?函数?
Wikipedia says:
A debug symbol is information that expresses which programming-language constructs generated a specific piece of machine code in a given executable module.
Any examples of what kind of programming-language constructs are used for the purpose?
What is the meaning of "constructs" in this context? Functions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
所指的编程语言结构包括 if 语句、while 循环、赋值语句等。
调试符号通常是将机器字节码的可执行块的地址与原始源代码文件和它们所代表的行号进行映射的文件。这允许您执行一些操作,例如在 if 语句上放置断点,并在执行到达字节码的特定位时让机器停止。
The programming language constructs reffered to are things like if statements, while loops, assignment statements, etc etc.
Debug symbols are usually files that map addresses of executable chunks of machine bytecode with the original source code file and line number they represent. This is what allows you to do things like put a breakpoint on an if statement, and have the machine stop when the execution reached that particular bit of bytecode.