LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-13-2012, 02:37 PM   #1
lupe
Member
 
Registered: Dec 2008
Distribution: Slackware
Posts: 36

Rep: Reputation: 2
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.
 
Old 10-13-2012, 05:52 PM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 226Reputation: 226Reputation: 226
You can ignore the warning.

There is a patch for gdb to get rid of it

http://sourceware.org/ml/gdb-patches.../msg00331.html
 
1 members found this post helpful.
  


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
Can and how do I run a program with GDB? perort Linux - Newbie 10 05-04-2011 05:58 PM
GDB error: Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2 TheIndependentAquarius Programming 1 07-09-2010 04:31 PM
GDB: Run program automatically kenneho Programming 5 12-05-2009 09:14 AM
linux-vdso vs linux-gate yurii Linux - General 1 11-17-2008 03:05 PM


All times are GMT -5. The time now is 04:32 AM.

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