LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   error in emacs with gdb (https://www.linuxquestions.org/questions/linux-software-2/error-in-emacs-with-gdb-166320/)

varala_kanth 04-05-2004 01:40 AM

error in emacs with gdb
 
hello guys,

iam having hello.cxx -> c++ file

compile and created executable with commad

g++ -o hello hello.cxx

started emacs
and opened gdb in that with gdb hello

it is giveing error

as

.gdbinit:41: Error in sourced command file:

and when i kept break point and step through

it is showing like this rather than source code in the window

52 ../sysdeps/i386/elf/start.S: No such file or directory.
in ../sysdeps/i386/elf/start.S

what might be the problem

after 7 to 8 steps like this in the end iam getting the result

but i need to see the source code
thanks in advance


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