简体   繁体   English

在gdb调试器中找不到调试符号

[英]no debugging symbols found in gdb debugger

When i am running my complex c programme simulator .c which include many c file in gdb it gives the error no debugging symbols found. 当我运行我的复杂的c程序模拟器.c,其中包括gdb中的许多c文件,它给出错误没有找到调试符号。 I am using gcc -g simulator.c for compling this programme. 我正在使用gcc -g simulator.c来编译这个程序。 Can any body tell me why this error is coming. 任何机构都可以告诉我为什么会出现这个错误。

您可能需要使用-g编译每个 .c文件以获得一组完整的调试符号。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM