LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   gdb run error: linux-vdso.so.1 (http://www.linuxquestions.org/questions/slackware-14/gdb-run-error-linux-vdso-so-1-a-4175432060/)

lupe 10-13-2012 03:37 PM

gdb run error: linux-vdso.so.1
 
Hi all,

I'm trying to debug one C program, but gdb doesn't run it.

(gdb) r
Starting program: /home/upe/c/a.out
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Correct usage is "program header_uid xml_file_name"
[Inferior 1 (process 15293) exited with code 0143]

Originally, I used:
CFLAGS = -O0 -Wall -pedantic -g3 -gdwarf-2

then,
CFLAGS = -O0 -Wall -pedantic -g3

but the problem persists.

This is in my new Slackware64-14.0 after upgrade from 13.37.
Am I the only one with this? Did I mess up something during the upgrade process?
Please, give me some directions on how to solve this issue.

wildwizard 10-13-2012 06:52 PM

You can ignore the warning.

There is a patch for gdb to get rid of it

http://sourceware.org/ml/gdb-patches.../msg00331.html


All times are GMT -5. The time now is 10:21 PM.