I am trying to run gdb debugger on a simple c program but every time i type run in the debugger it gives me these messages:
warning: the debug information found in “/usr/lib/debug//lib/libc-2.11.3.so.debug” does not match “/lib/libc.so.6” (CRC mismatch).
warning: the debug information found in “/usr/lib/debug/lib/libc-2.11.3.so.debug” does not match “/lib/libc.so.6” (CRC mismatch).
Missing separate debuginfo for /lib/libc.so.6
Try: zypper install -C “debuginfo(build-id)=5a005d8c442988f1713dc91479bf297ee3f735f0”
When i run zypper i get this:
Loading repository data…
Reading installed packages…
No provider of ‘debuginfo(build-id) = 5a005d8c442988f1713dc91479bf297ee3f735f0’ found.
Resolving package dependencies…
Nothing to do.
I have the debug repo and have gdb-debuginfo package installed yet it still won’t install.
i also have the opensuse 11.4-Debug repo.
it still lets me run the debugger without any hassle although it would not let me set a breakpoint on a “strcpy”
in my c program
Any help would be appreciated…