Paulo Henrique Baptista de Oliveira <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED]: /home/IA/baptista$ gcc -g -o teste teste.c
> [EMAIL PROTECTED]: /home/IA/baptista$ gdb teste
[...]
> (gdb) l
> warning: Source file is more recent than executable.

This suggests that there is a 'teste' executable somewhere in
your path that gdb finds before it looks for the one you just
built.

Try starting gdb with './teste' as the argument and see if it
works better that way.

-- 
Henning Makholm
http://www.diku.dk/students/makholm

Reply via email to