Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tcf-dev] Eclipse Debug Framework and TCF agent

When I'm using the remote debug with the qemu provided by Poky, during the debug if I run the command "ps aux" in the qemu I can see 2 processes, gdbserve :2345 my_aplication and my_aplication. So Its using the gdbserver like Doug said.


Thanks!


On Thu, Mar 31, 2011 at 2:30 PM, Murilo Travaglia <murilo.travaglia@xxxxxxxxxxxxxxxxxx> wrote:
I can't build TCF in my QEMU/my target system, because it doesn't have the tools to do this in my target system. I intend to put im my linux only the necessary things to run TCF Agent and the features provided by TCF and Yocto.

Do you think this can be the problem? Building TCF in the target system instead of my machine...

Thanks!


On Thu, Mar 31, 2011 at 2:13 PM, Anna Dushistova <anna_dushistova@xxxxxxxxxx> wrote:
Hi Murilo,
what if you build TCF in your QEMU/your target system? 

Anna.

On Mar 31, 2011, at 7:45 PM, Murilo Travaglia wrote:

>Do you mean that you use the remote launching/debugging from CDT?

Yes, I'm using C/C++ Remote Aplication.

Actualy I'm using Yocto project plugin, that extends the TCF. I thought that Eclipse Debug Framework and TCF agent worked together so the problem could be with some dependencies required by the TCF agent in my linux.

I'LL ask this in the Yocto Community, and bring the news here! Just you to know, bellow is all the explanation of my problem:

First at all I installed the Yocto Plugin in my eclipse, installed a toolchain (586), download a toolchain to 586, download a pre-built linux kernel and a filesystem (sato). So I'm able to run QEMU and use the features, remote file explorer, remote debug and use yocto tools.

The second step I'm trying to do is to use the features of Yocto in my custom Linux. So I built a 586_linux and I'm running it in QEMU. I got the source code of eclipse_poky and TCF, aplied the patches of Yocto Project in TCF code and built (localy in my machine, because is the same architecture) the org.eclipse.tm.tcf.terminals.agent agent. Then I put the binary of the agent in my linux running in QEMU and started it. In Eclipse if the Yocto plugin installed I'm able to use Remote File System Explorer, I can see my home files, etc, can execute some yocto tools, but when I try to the debug an aplication in my remote target, I can't do it. I can see that the binary file is copied to the target (I also can execute it manually), but eclipse stay trying to debug (maybe trying to find the file) and then after a time a got an error. I also tryed to put the tcf-agent binary provided in the yocto-image-sato-qemux86-0.9.rootfs and I have the same behavior.


Thanks for the prompt response!



On Wed, Mar 30, 2011 at 6:28 PM, Tarassov, Eugene <eugene.tarassov@xxxxxxxxxxxxx> wrote:
Hi Murilo,

Eclipse Debug Framework and TCF agent are not meant to work together.

You either use TCF debugger with TCF agent, or Eclipse Debug Framework with gdbserver.

AFAIK, Eclipse Debug Framework uses communication code from TCF project, but not the agent.

Regards,
Eugene

________________________________

From: tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx] On Behalf Of Murilo Travaglia
Sent: Wednesday, March 30, 2011 2:13 PM
To: tcf-dev@xxxxxxxxxxx
Subject: [tcf-dev] Eclipse Debug Framework and TCF agent


Hi all,

I'm started to study TCF agent to port it to diferent platforms. The first thing I'm doing is to simulate how does TCF works, especially the TCF Agent with the Eclipse Debug Framework.

I have linux 586 running in qemu. I got the the TCF project im my desktop, build it and copied the binary "agent" to my target (qemu with linux-586) and run it im my target system. Using eclipse I'm able to use remote file system explorer, see my files, but when I try to make a remote debug with tcf I can't do it. I see that the binary file is copied to the target (I also can execute it manually), but it seems that the gdbserver never start, eclipse stay trying to debug and then after a time a got an error. Does anybody know why I'm having this issue? The TCF agent need some special feature in the target system?


Thanks in advance!


Best regards,

--
Murilo Marques Travaglia
Phi Innovations




_______________________________________________
tcf-dev mailing list
tcf-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/tcf-dev



--
Murilo Marques Travaglia
Phi Innovations



_______________________________________________
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




--
Murilo Marques Travaglia
Phi Innovations






--
Murilo Marques Travaglia




Back to the top