Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugging problems "No source file named ..."(Debugging problems "No source file named ...")
Debugging problems "No source file named ..." [message #525428] Tue, 06 April 2010 10:37 Go to next message
Eclipse UserFriend
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

Re: Debugging problems "No source file named ..." [message #525486 is a reply to message #525428] Tue, 06 April 2010 13:03 Go to previous messageGo to next message
Eclipse UserFriend
No Real Name wrote on Tue, 06 April 2010 10:37
The first was " .gdbinit: No such file or directory." which didnt halt the process.

In your debug configuration, in the Debug tab, empty the field "GDB Command File".
Re: Debugging problems "No source file named ..." [message #525495 is a reply to message #525486] Tue, 06 April 2010 13:14 Go to previous message
Eclipse UserFriend
I removed it and the .gbinit problem disappeared. However the other problems remain.
I thought that the .gbinit file would have been created by eclipse

Thanks

Roger
Previous Topic:Builders : what are they ? What do they do ?
Next Topic:Cannot run program "make": Unknown reason)
Goto Forum:
  


Current Time: Mon Jun 30 22:37:04 EDT 2025

Powered by FUDForum. Page generated in 0.03379 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top