<?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>88</bug_id>
          
          <creation_ts>2010-04-01 12:39:05 +0000</creation_ts>
          <short_desc>Which host/cross GDB to use?</short_desc>
          <delta_ts>2010-12-21 05:58:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Anjuta Plugin</product>
          <component>anjuta-plugin</component>
          <version>0.9</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>86</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.9 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gary Thomas">gary</reporter>
          <assigned_to name="Joshua Lock - Disabled">josh</assigned_to>
          <cc>josh</cc>
    
    <cc>liping.ke</cc>
    
    <cc>yp.ap.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>8351</commentid>
    <comment_count>0</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2010-04-01 12:39:05 +0000</bug_when>
    <thetext>There seems to be no way to specify which host [cross] GDB to use.

n.b. if the plugin is expecting to use &lt;target-triplet&gt;-gdb, this is
not installed with the SDK (perhaps it should be)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8458</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2010-04-16 15:46:45 +0000</bug_when>
    <thetext>Needs investigation, does the plugin just default to using a certain gdb which we then need to ensure is there before running the remote debugger? 

From plugin.c:691 looks like we&apos;re trying building the executable name from the sdk root and the host triplet, have recent poky changes broken this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8459</commentid>
    <comment_count>2</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2010-04-16 15:57:56 +0000</bug_when>
    <thetext>The plugin assumes &lt;target-triplet&gt;-gdb

This is neither built nor installed when using meta-toolchain-sdk
It can be built and manually installed via gdb-cross

Sadly, if the gdb executable is not available, the anjuta framework
does not report any error when creating the gdb [host] controller
and the plugin simply sits and waits for the initial connection :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8695</commentid>
    <comment_count>3</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-05-21 03:59:42 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; The plugin assumes &lt;target-triplet&gt;-gdb
&gt; 
&gt; This is neither built nor installed when using meta-toolchain-sdk
&gt; It can be built and manually installed via gdb-cross
&gt; 
&gt; Sadly, if the gdb executable is not available, the anjuta framework
&gt; does not report any error when creating the gdb [host] controller
&gt; and the plugin simply sits and waits for the initial connection :-(

&gt; 
Hi, Gary
I did build this cross gdb with SDK tools together.it is under the folder of build/tmp/deploy/sdk. And you should untar this tarball to /, so under /usr/local/poky/eabi-glibc/bin, you will see XXX-poky-linux-gdb. (xxx-poky-linux is the tool chain triplet you are setting).
Yes, it&apos;s true when the cross gdb does not exist, the terminal will have problem. I mark this problem as a repeated bug as bug 2060 and trace all those terminal related bugs there.

Thanks &amp; Regards,
criping



*** This bug has been marked as a duplicate of bug 2060 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>