|
|
Re: Remote debugging [message #778288 is a reply to message #777454] |
Thu, 12 January 2012 07:43 |
zhivko z Messages: 4 Registered: January 2012 |
Junior Member |
|
|
Thank Marc,
I set path mapping and the error is still there. I was read in one forum that "No source file named x.c" means that your library hasn't been loaded yet at the time when the debugger is trying to set a breakpoint. I checked in gdb traces and I see that gdb is trying to set a breakpoint in my source file before the library file was loaded. It look something like this:
306,128 17-break-insert --thread-group i1 -f /xxx/xxx.c:441
306,129 &"No source file named /xxx/xxx.c.\n"
306,130 17^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="/xxx/xxx.c:441",times="0",original-location="/xxx/xxx.c:441"}
306,485 =library-loaded,id="/tmp/xxx.so",target-name="/tmp/xxx.so",host-name="/xxx/xxx.so",symbols-loaded="0",thread-group="i1"
And what means "symbols-loaded="0"" I'm 100% sure that I'm using library with debug symbols.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04200 seconds