<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5069</bug_id>
          
          <creation_ts>2013-08-29 08:12:00 +0000</creation_ts>
          <short_desc>Eclipse TCF can support arm cpu debug now,but tcf-agent_git.bb can&apos;t do it this time.</short_desc>
          <delta_ts>2018-01-25 16:01:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>2.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard> </status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="scanli">scanli</reporter>
          <assigned_to name="David Reyna">david.reyna</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>mober.at</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>star</cc>
    
    <cc>stephen.arnold42</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36025</commentid>
    <comment_count>0</comment_count>
    <who name="scanli">scanli</who>
    <bug_when>2013-08-29 08:12:00 +0000</bug_when>
    <thetext>I&apos;m trying tcf for arm cpu with yocto tcf-agent_git.bb,but it can&apos;t support arm cpu debug now.
The Eclipse TCF had addded the new function debug arm cpu.
http://tmober.blogspot.com/2013/03/eclipsecon-2013-tcf-arm-debugging-and.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39408</commentid>
    <comment_count>1</comment_count>
    <who name="Steve Arnold">stephen.arnold42</who>
    <bug_when>2013-12-16 00:29:04 +0000</bug_when>
    <thetext>The current git repo pulls an old version; updating to the 1.1 release builds fine (untested thus far) and I&apos;d wager a full git master/HEAD recipe should also work.  The 1.1 changes for rpi are below; obviously the configure_prepend part needs to be adjusted for your machine arch.

--- ../meta/recipes-devtools/tcf-agent/tcf-agent_git.bb 2013-12-14 12:18:02.926011494 -0800
+++ recipes-devtools/tcf-agent/tcf-agent_git.bb 2013-12-15 16:18:34.987218227 -0800
@@ -5,19 +5,19 @@
 LICENSE = &quot;EPL-1.0 | EDL-1.0&quot;
 LIC_FILES_CHKSUM = &quot;file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679&quot;

-SRCREV = &quot;4ef94ecb927a8912c3d79ce137182247786cff8f&quot;
-PV = &quot;0.4.0+git${SRCPV}&quot;
-PR = &quot;r2&quot;
+SRCREV = &quot;1.1&quot;
+PV = &quot;1.1+git${SRCPV}&quot;
+PR = &quot;r0&quot;

 DEPENDS = &quot;util-linux openssl&quot;
 RDEPENDS_${PN} = &quot;bash&quot;

-S = &quot;${WORKDIR}/git&quot;
+S = &quot;${WORKDIR}/git/agent&quot;

 inherit update-rc.d

@@ -30,19 +30,17 @@

 EXTRA_OEMAKE = &quot;MACHINE=${MAKE_ARCH} OPSYS=${MAKE_OS} &apos;CC=${CC}&apos; &apos;AR=${AR}&apos;&quot;

-# They don&apos;t build on ARM and we don&apos;t need them actually.
-CFLAGS += &quot;-DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
-    -DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \
-    -DSERVICE_StackTrace=0 -DSERVICE_Symbols=0 -DSERVICE_LineNumbers=0 \
-    -DSERVICE_Expressions=0&quot;
+do_configure_prepend() {
+    cp -aR ${S}/machine/arm ${S}/machine/armv6l
+}

 do_compile() {
       oe_runmake</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51678</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Oberhuber">mober.at</who>
    <bug_when>2015-06-13 05:49:33 +0000</bug_when>
    <thetext>Note that with tcf-1.2 , also PPC debug support has been added:
https://wiki.eclipse.org/TCF/NewIn12

Suggestion is for YP 1.9 to update to latest released tcf-agent 1.3 , see also
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7886

It remains to be decided which tcf-agent services should be enabled on which target architectures. On MIPS, for example, debug is still not supported.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57618</commentid>
    <comment_count>3</comment_count>
    <who name="Arno Steffens">star</who>
    <bug_when>2016-01-07 11:43:50 +0000</bug_when>
    <thetext>Found, that tcf-agent, created by yocto 2.0 doesn&apos;t support debugging.
While remote exloring works, in eclipse: debugging configuration / download I get the message : &quot;peer does not support run control service&quot;
Running on a ZYNQ (ARM-v7a) board.

So, only chance is GDB for debugging?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57685</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Oberhuber">mober.at</who>
    <bug_when>2016-01-08 16:03:02 +0000</bug_when>
    <thetext>(In reply to comment #3)
Hi Arno,

the standard recipe that comes with YP disables the debug services; you can apply the changes from comment 1 to enable them (especially remove the -DSERVICE_*=0 from CFLAGS).

Your other option is building a target-side toolchain, and following the advice from https://wiki.eclipse.org/TCF/Raspberry_Pi with TCF master/HEAD.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79220</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-01-25 16:01:49 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/meta/recipes-devtools/tcf-agent?id=97b36d5ee25b1a758c8b5bf8218d518abec9d4be</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>