Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
initially i just did the plain cc -g quick.c -o quick
then i tried compiling with debugging flags like cc -g -ggdb quick.c -o quick
then tried cc -g -O0 quick -o quick
then tried using -g3 switch and all..but to no avail.. still getting missing debug info file..
or is there a way to put all debug info into the executable than a separate debug info file..
(the one being compiled is a working quick_sort c program )
btw..i am on a fedora 8 2.6.24-64.fc8 distro's Linux kernel
[paul@localhost c]$ gdb ./quick
.... (gdb) break main
Breakpoint 1 at 0x8048496: file quick.c, line 38. (gdb) run
Starting program: /home/paul/c/quick
warning: Missing the separate debug info file: /usr/lib/debug/.build-id/ac/2eeb206486bb7315d6ac4cd64de0cb50838ff6.debug
warning: Missing the separate debug info file: /usr/lib/debug/.build-id/ba/4ea1118691c826426e9410cafb798f25cefad5.debug
Breakpoint 1, main () at quick.c:38
38 srand(getpid()); (gdb) step
41 for (i = 0; i < NUM_ITEMS; i++) (gdb)