Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tcf-dev] Remote gdb debug integration

Hi Uwe,

On Mon, Aug 6, 2012 at 8:32 PM, Stieber, Uwe <Uwe.Stieber@xxxxxxxxxxxxx> wrote:
> Hi Anna,
>
> My first question would be what does this gdb-dsf remote launch do with RSE? What kind of services are used for what? Very doubtful that I do recall it correctly, but isn't it the case that the remote launch does use RSE for transfering and launching the gdbserver on the remote system and debugging is done using CDT GDB-DSF debugger front-end talking to the launched gdbserver? If this is the case, I think it shouldn't be a lot of work to port this kind of launch to use the Target Explorer instead of RSE. There might be some missing controls to select the connection we will have to provide, but corresponding services for transfering a file to a remote system (FileTransferService) and launching a process there (ProcessLauncher) are available.

That's right-RSE is used to launch gdbserver, transfer files and
stream input/output of the application. I will take a closer look at
the services you mentioned, thanks for the hints!

> If the TCF agent should be used as debugger backend too

No, of course not. :) If that was the case, I'd go with what's there
already for TCF debugger. Gdbserver will be the backend.

> than I'm not so sure if porting the gdb-dsf remote launch is the way to go, but Eugene Tarassov and Pawel Piech are probably the best to answer questions and give some recommendation here. In this case, probably the question would be what is missing for the "Remote Application" launch which does the gdb-dsf remote launch provide?
>
> Best regards, Uwe :)
>
>
>> -----Original Message-----
>> From: tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx] On Behalf Of Anna
>> Dushistova
>> Sent: Montag, 06. August 2012 17:45
>> To: TCF Development
>> Subject: [tcf-dev] Remote gdb debug integration
>>
>> Hi All,
>>
>> I would like to port a gdb-dsf remote launch (org.eclipse.cdt.launch.remote for instance) from using
>> RSE to using Target Explorer. I would prefer to leverage existing gdb-dsf code, so I was thinking of
>> using TCF as a communication layer only.
>>
>> What would be the recommended way to do it?
>> Any suggestions will be highly appreciated.
>>
>> Thanks!
>> Anna.
>> _______________________________________________
>> tcf-dev mailing list
>> tcf-dev@xxxxxxxxxxx
>> http://dev.eclipse.org/mailman/listinfo/tcf-dev
> _______________________________________________
> tcf-dev mailing list
> tcf-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/tcf-dev


Back to the top