LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices

Reply
 
Search this Thread
Old 05-14-2008, 08:55 AM   #1
vikhr
LQ Newbie
 
Registered: Mar 2008
Posts: 4

Rep: Reputation: 0
Unhappy gdb: missing the seperate debug info file


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 )
plz help
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)
....
 
Old 05-16-2008, 01:08 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,489

Rep: Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956Reputation: 1956
There was an article about this topic on the Fedora Weekly News, 114. Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use gdb to debug child process? ariana Programming 2 05-03-2005 01:50 PM
GDB unable to debug pthreads linuxdeveloper Programming 1 03-06-2005 05:18 AM
Using gdb to debug different arhitectures george_mercury Linux - Software 1 01-07-2005 06:19 PM
Redirecting debug info to another file subu_s Programming 1 12-07-2004 01:15 PM
how to debug multithread using GDB? ryanux Programming 1 05-11-2004 12:58 AM


All times are GMT -5. The time now is 03:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration