Debugging problems "No source file named ..." [message #525428] |
Tue, 06 April 2010 10:37  |
Eclipse User |
|
|
|
I have just installed CDT and got it to work compiling. However when I tried to debug I had a couple of problems in the console window.
The first was " .gdbinit: No such file or directory." which didnt halt the process.
then came the following errors
.
.
.
72^error,msg="No registers."
(gdb)
73-break-insert /home/roger/workspace/Demo/src/demo.c:121
73^error,msg="No source file named /home/roger/workspace/Demo/src/demo.c."
(gdb)
74-break-insert -t main
.
.
.
Stopped due to shared library event\n"
However it continued and had the same error twice more
78-break-insert /home/roger/workspace/Demo/src/demo.c:121
78^error,msg="No source file named /home/roger/workspace/Demo/src/demo.c."
(gdb)
The source file does exist and has read permissions. There is an extra full stop after the file name and I was wondering whether this full stop was actually a part of the string when the file was being searched for.
Since this is all new to me it could be anything
Regards
Roger Munford
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03379 seconds