Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » C/C++ Remote Debug Configuration Environment Variables
C/C++ Remote Debug Configuration Environment Variables [message #32099] Wed, 18 February 2009 11:47 Go to next message
Tom Deseyn is currently offline Tom Deseyn
Messages: 10
Registered: July 2009
Junior Member
Hi,

I believe the debugger is searched on the OS-'PATH' and that it gets
executed with OS-environment variables.

Is this true? Wouldn't it make more sense to use the eclipse environment
variables? Where can I change this behaviour?

Thanks,

Tom
Re: C/C++ Remote Debug Configuration Environment Variables [message #32275 is a reply to message #32099] Mon, 23 February 2009 09:08 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 983
Registered: July 2009
Senior Member
Tom,

your question is not specific enough to get answered. You likely
know that you need a cross debugger for the "remotecdt" integration
to work? Perhaps the FAQ helps:

http://wiki.eclipse.org/TM_and_RSE_FAQ#How_can_I_do_Remote_D ebugging_with_CDT.3F

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Tom Deseyn wrote:
> Hi,
>
> I believe the debugger is searched on the OS-'PATH' and that it gets
> executed with OS-environment variables.
>
> Is this true? Wouldn't it make more sense to use the eclipse environment
> variables? Where can I change this behaviour?
>
> Thanks,
>
> Tom
>
Re: C/C++ Remote Debug Configuration Environment Variables [message #32692 is a reply to message #32275] Thu, 05 March 2009 09:23 Go to previous messageGo to next message
Tom Deseyn is currently offline Tom Deseyn
Messages: 10
Registered: July 2009
Junior Member
Hi Martin,

I have solved my problem in a different way.

But to let you know what my issue was:
When you execute a make target it runs in the environment (environment
variables, ...) you have configured in eclipse.
When you execute the debugger (gdb) it is started in Windows environment.
This is not consistent.

Regards,

Tom
Re: C/C++ Remote Debug Configuration Environment Variables [message #32775 is a reply to message #32692] Fri, 06 March 2009 13:53 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 983
Registered: July 2009
Senior Member
Hm...

sounds like this inconsistency is a CDT bug, have you filed
a bug for this?

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Tom Deseyn wrote:
> Hi Martin,
>
> I have solved my problem in a different way.
>
> But to let you know what my issue was:
> When you execute a make target it runs in the environment (environment
> variables, ...) you have configured in eclipse.
> When you execute the debugger (gdb) it is started in Windows environment.
> This is not consistent.
>
> Regards,
>
> Tom
>
Re: C/C++ Remote Debug Configuration Environment Variables [message #32910 is a reply to message #32775] Fri, 06 March 2009 18:00 Go to previous message
Tom Deseyn is currently offline Tom Deseyn
Messages: 10
Registered: July 2009
Junior Member
Now I have:
http://bugs.eclipse.org/bugs/show_bug.cgi?id=267460

Wkr,

Tom
Re: C/C++ Remote Debug Configuration Environment Variables [message #579226 is a reply to message #32099] Mon, 23 February 2009 09:08 Go to previous message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 983
Registered: July 2009
Senior Member
Tom,

your question is not specific enough to get answered. You likely
know that you need a cross debugger for the "remotecdt" integration
to work? Perhaps the FAQ helps:

http://wiki.eclipse.org/TM_and_RSE_FAQ#How_can_I_do_Remote_D ebugging_with_CDT.3F

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Tom Deseyn wrote:
> Hi,
>
> I believe the debugger is searched on the OS-'PATH' and that it gets
> executed with OS-environment variables.
>
> Is this true? Wouldn't it make more sense to use the eclipse environment
> variables? Where can I change this behaviour?
>
> Thanks,
>
> Tom
>
Re: C/C++ Remote Debug Configuration Environment Variables [message #579479 is a reply to message #32275] Thu, 05 March 2009 09:23 Go to previous message
Tom Deseyn is currently offline Tom Deseyn
Messages: 10
Registered: July 2009
Junior Member
Hi Martin,

I have solved my problem in a different way.

But to let you know what my issue was:
When you execute a make target it runs in the environment (environment
variables, ...) you have configured in eclipse.
When you execute the debugger (gdb) it is started in Windows environment.
This is not consistent.

Regards,

Tom
Re: C/C++ Remote Debug Configuration Environment Variables [message #579516 is a reply to message #32692] Fri, 06 March 2009 13:53 Go to previous message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 983
Registered: July 2009
Senior Member
Hm...

sounds like this inconsistency is a CDT bug, have you filed
a bug for this?

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Tom Deseyn wrote:
> Hi Martin,
>
> I have solved my problem in a different way.
>
> But to let you know what my issue was:
> When you execute a make target it runs in the environment (environment
> variables, ...) you have configured in eclipse.
> When you execute the debugger (gdb) it is started in Windows environment.
> This is not consistent.
>
> Regards,
>
> Tom
>
Re: C/C++ Remote Debug Configuration Environment Variables [message #579570 is a reply to message #32775] Fri, 06 March 2009 18:00 Go to previous message
Tom Deseyn is currently offline Tom Deseyn
Messages: 10
Registered: July 2009
Junior Member
Now I have:
http://bugs.eclipse.org/bugs/show_bug.cgi?id=267460

Wkr,

Tom
Previous Topic:C/C++ Remote Debug: Unknown channel 0
Next Topic:Problems with a dStore connection
Goto Forum:
  


Current Time: Sat Aug 23 15:50:32 EDT 2014

Powered by FUDForum. Page generated in 0.06485 seconds