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 16:47 Go to next message
Tom Deseyn is currently offline Tom DeseynFriend
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 14:08 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 985
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 14:23 Go to previous messageGo to next message
Tom Deseyn is currently offline Tom DeseynFriend
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 18:53 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 985
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 23:00 Go to previous message
Tom Deseyn is currently offline Tom DeseynFriend
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 14:08 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 985
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 14:23 Go to previous message
Tom Deseyn is currently offline Tom DeseynFriend
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 18:53 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 985
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 23:00 Go to previous message
Tom Deseyn is currently offline Tom DeseynFriend
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: Sun Nov 23 05:06:39 GMT 2014

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

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