Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-05-2014, 09:32 AM   #1
LQ Newbie
Registered: Jan 2014
Posts: 1

Rep: Reputation: Disabled
learning to use gdb gcc // a string in something i dont understand

i did write firstprog.c with easy to say hello world! 10 times now i wanted to see it with gdb

i use : gdb -q ./a.out

in the book what im reading there stands after the: gdb -q ./a.out ->

"using host libthread_db library "/lib/tls/i686/cmov/"

at me comes: "Reading symbols from /home/blub/booksrc/a.out...(no debugging symbols found)...done."

and thats what i not understand!

sry for my bad english i try to get better every day and i will and sry for these easy and nooby question but i didnt find the answer now for 4 days in the internet or i searched wrong!

edit: if u need fotos or something tell i try to give directly!

thank you very much for reading it and i hope u can answer and help me!

Last edited by fluchti; 01-05-2014 at 10:33 AM. Reason: thank you for looking for my problem i got the relution for the prob! thank you anyway!!! =)
Old 01-06-2014, 05:57 PM   #2
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,713

Rep: Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279
It just means that the debugging symbols were not included in the file. Recompile with the -g option which directs the compiler to include them. It will then be able to list the source file name and line of a bug, and gdb will be able to access those files to display some context information.

Now the base shared libraries will not have debugging symbols. This should be a problem as the application object file will (with the -g). To get the debugging symbols with the shared libraries you usually have to go to getting the development libraries instead - then, rather than using the shared libraries, you use the development libraries which are object libraries, and can include the debugging symbols.

Last edited by jpollard; 01-06-2014 at 06:00 PM.
1 members found this post helpful.


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
Dont understand how to install kernel development packages and gcc Hollomankilla Linux - Newbie 3 10-23-2007 12:21 AM
I dont understand this! zeldafanfreak Linux - Hardware 1 08-12-2005 03:52 PM
i dont understand!!!! Fathonkey Linux - Software 17 05-29-2003 12:37 PM
Dont Understand Sifvion Slackware 27 03-26-2003 02:49 PM
Things dont work when you dont understand withoutaclue Linux - Newbie 3 03-12-2003 10:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration