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)
....
|