You are not logged in.

#1 2009-01-30 09:13:24

maxplank
Member
Registered: 2009-01-30
Posts: 5

gdb error

hi guys,

while i run command "list" on gdb , i get the follow error ,

/tmp/glibc/trunk/src/libc/glibc-build/csu/crti.S : No such file or directory found.

what does this mean ,and how do i solve this?

i am not an expert programmer.

Last edited by maxplank (2009-01-30 09:42:06)

Offline

#2 2009-01-31 09:53:52

deej
Member
Registered: 2008-02-08
Posts: 395

Re: gdb error

What are you trying to debug ?
Post the commands you are entering, eg:

$ gdb [i]my_file[/i]

(gdb) list

Deej

Offline

#3 2009-02-08 15:50:44

ekse
Member
Registered: 2009-02-08
Posts: 2

Re: gdb error

make sure you compile your code with the -ggdb flag to put the debug symbols in the code :

gcc -ggdb -o hello hello.c

Offline

#4 2009-02-13 00:59:27

horsecool
Member
Registered: 2008-12-22
Posts: 55

Re: gdb error

great! I found the same problem and this helped out. Thank you!

Offline

Board footer

Powered by FluxBB