Distcc and debugging in kdevelop

Johan Maes on4qz at telenet.be
Wed May 3 20:42:05 BST 2006


Hi,
Thanks Volodya,

Scrolling through the gdb output, I found that not kdevelop but gdb produced 
the eroor.
Googling for gdb and distcc gave me the answer.
Basically it's a gcc error.

The probelem can be avoided if you run from the directory where the sources 
are.

thanks for the help;
johan 

On Wednesday 03 May 2006 13:50, Vladimir Prus wrote:
> On Wednesday 03 May 2006 13:46, Johan Maes wrote:
> > Hi,
> > When I compile my application locally, I can perfectly debug it.
> >
> > When I use distcc to compile it, then for all the files compiled on the
> > remote machine, kdevelop will not be able to find the source.
> >
> > E.g;
> > If I put a breakpoint in motion.cpp at line 544, then gdb will stop the
> > program when the breakpoint is hit, but KDevelop will say: No source: 544
> > in motion.cpp.
> >
> > Any ideas?
>
> I would suppose that gdb or gcc is buggy ;-) Really, can you get gdb to
> produce the right source file name in the console? If not, then the only
> solution on KDevelop side is to pop up a dialog box saying "have no idea
> where's this file, specify directory locally".
>
> - Volodya
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following body: unsubscribe
> »your-email-address«

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list