Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] EnvironmentTab in org.eclipse.cdt.launch.remote

Hi,

I've opened a bug on this subject (https://bugs.eclipse.org/bugs/show_bug.cgi?id=424436) I've also submitted a patch (https://git.eclipse.org/r/#/c/20042/), but it failed on hudson (https://hudson.eclipse.org/cdt/job/cdt-verify/170/). Unfortunately, the hudson link is broken. I'm not able to show why it failed nor to re-trigger the build.

Any hint ?


On 12/17/2013 03:44 PM, Marc Khouzam wrote:
-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Xavier Raynaud
Sent: Tuesday, December 17, 2013 9:26 AM
To: cdt-dev@xxxxxxxxxxx
Subject: Re: [cdt-dev] EnvironmentTab in org.eclipse.cdt.launch.remote

Ok - it means that if we want to add the support of env vars, we have to start
gdbserver in a modified env. Am I right ?
With the current C/C++ Remote Application launch, gdbserver starts the
one process that will be debugged.  You are right that it would be the
environment of the gdbserver that would have to be changed to support
an Env tab.  This could be done by the RSE logic that we use to start
gdbserver automatically.

Do you think it can be interesting to add such feature ?
It would make sense for the automatic remote launch.  How
useful it will be?  You are in a better position to know since you are
the first to bring it up :)
[...]






Xavier


On 12/17/2013 12:03 PM, Marc Khouzam wrote:
Actually no. The binary is loaded by gdb to read the debug symbols, but
the actual running program is started by gdbserver.
Best regards,

Marc


----- Original Message -----
From: Xavier Raynaud <xavier.raynaud@xxxxxxxxx>
To: "cdt-dev@xxxxxxxxxxx" <cdt-dev@xxxxxxxxxxx>
Sent: 17-12-2013 5:37
Subject: Re: [cdt-dev] EnvironmentTab in org.eclipse.cdt.launch.remote



Isn't the same thing locally ? binary is also started by gdb, isn't it ?

Xavier


On 12/17/2013 11:31 AM, Marc Khouzam wrote:
It has been a while but believe setting environment variables doesn't
make sense for a remote launch since the binary is started by gdbserver.
Would such variables still affect gdbserver?

Best regards,

Marc


----- Original Message -----
From: Xavier Raynaud <xavier.raynaud@xxxxxxxxx>
To: "cdt-dev@xxxxxxxxxxx" <cdt-dev@xxxxxxxxxxx>
Sent: 17-12-2013 5:16
Subject: [cdt-dev] EnvironmentTab in org.eclipse.cdt.launch.remote



Hi,

Is there any plan to support EnvironmentTab in "C/C++ Remote
Application" ?
Xavier Raynaud
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top