Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-05-2004, 01:40 AM   #1
Registered: Feb 2004
Posts: 51

Rep: Reputation: 15
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


.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


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
gdb error lucky6969b Linux - Software 1 11-30-2005 08:26 PM
Gdb error on Aix 4.3.3 ayeletr AIX 3 04-05-2004 10:57 PM
problem i using emacs with gdb debugger? varala_kanth Linux - Software 2 04-05-2004 01:43 AM
emacs with gdb error varala_kanth Linux - Software 0 04-03-2004 05:24 AM
wierd gdb error teval Programming 13 08-21-2003 11:15 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:05 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