LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   can't find source files / line numbers with gdb (https://www.linuxquestions.org/questions/linux-software-2/cant-find-source-files-line-numbers-with-gdb-72514/)

dnijaguar 07-14-2003 01:30 AM

can't find source files / line numbers with gdb
 
Hello everyone. I have been using Linux for about half a year (currently RH9) and came across the gdam software for x windows. i had a problem and then noticed that it was listed under the 'bugs' section of their sourceforge site. i wanted to see where the bug was (hoping that the error is really my problem) so i compiled the automake sources and tried to run gdb on the audio-server (first time i've ever tried doing so on a big program i haven't written). gdb acted a little different from normal -- instead of giving me the file.c:line number data like all my simple programs do, i get something like this ---

0xffffe002 in ?? ()
(gdb) break gdas_seekable_mp3_seek
Breakpoint 1 at 0x8064bee
(gdb) continue
Continuing.
[Switching to Thread 1077632288 (LWP 9014)]

Breakpoint 1, 0x08064bee in gdas_seekable_mp3_seek ()

I would like a way to get some kind of source file / line number data out of gdb rather than the hex codes. Is there any kind of 'approved method' to find this data?

Thanks in advance for your help.


All times are GMT -5. The time now is 03:22 AM.