gdb missing separate debuginfo

I have installed SUSE 11.2 on a new computer and when I have tried to run gdb to debug a program generated with gcc, I get the error shown below. When I have tried to use zypper as directed, I get the associated error messages. I have added the debug repository using yast, to no avail. I would appreciate any guidance.

(gdb) run
Starting program: /home/ejnava/CS481/Lab0/a.out
Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
Try: zypper install -C “debuginfo(build-id)=a121943782877c885215a25513d6bf0bfb6b6723”
Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C “debuginfo(build-id)=a4762e3dc63d9d17b92a985d53410c4931774ebc”

Hello beautiful world from ejnava on linux-qhm6.
It is Sat Jan 22 16:44:39 2011
(1295739879 seconds have elapsed since the Epoch.)

Program exited normally.
(gdb) q
ejnava@linux-qhm6:~/CS481/Lab0> sudo zypper install -C “debuginfo(build-id)=a121943782877c885215a25513d6bf0bfb6b6723”
root’s password:
Loading repository data…
Reading installed packages…
‘debuginfo(build-id)=a121943782877c885215a25513d6bf0bfb6b6723’ not found.
Resolving package dependencies…

Nothing to do.
ejnava@linux-qhm6:~/CS481/Lab0> sudo zypper install -C “debuginfo(build-id)=a4762e3dc63d9d17b92a985d53410c4931774ebc”
Loading repository data…
Reading installed packages…
‘debuginfo(build-id)=a4762e3dc63d9d17b92a985d53410c4931774ebc’ not found.
Resolving package dependencies…

Nothing to do.

:frowning:

Install Yast->SoftwareManagement Search and install glibc-debuginfo

Hi. I am experiencing the same problem on OpenSuse 11.4, but I haven’t been able to install “glibc-debuginfo” from Yast, because it isn’t there. I tried to install all related libraries that I found, but it still won’t work.

And if I try installing the recommended package, I get this:

#zypper install -C “debuginfo(build-id)=b1d398a5cb1609e7ac1c51a26588e87fc20f753c”
Loading repository data…
Reading installed packages…
No provider of ‘debuginfo(build-id) = b1d398a5cb1609e7ac1c51a26588e87fc20f753c’ found.
Resolving package dependencies…

Nothing to do.

Can somebody please provide a solution to this?


Best regards,

Hi
Are the debug repositories enabled? Check in YaST Software Repositories.

Hi. No they weren’t even there. It was only one oss repository. Thank you! Problem solved.

Hi,

I am having the exact same problem previous posters are having with gdb. I checked in yast Software Repositories and noticed that the openSUSE-12.1-Debug repository is not enabled. I cannot figure out how to enable it … I can’t figure out how to get an x in the Enabled column. Any help is appreciated.