<?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>346</bug_id>
          
          <creation_ts>2010-09-20 20:29:21 +0000</creation_ts>
          <short_desc>arm gdb poky_tree mode client and server communication fails</short_desc>
          <delta_ts>2010-12-21 06:09:42 +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>core</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.9 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liping Ke">liping.ke</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9923</commentid>
    <comment_count>0</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-09-20 20:29:21 +0000</bug_when>
    <thetext>Seems this is a version mis-match problem (this error happens under command line too).
If I choose poky tree mode, when gdb server and gdb client begin cooperate to debug, the client will report
&quot;Remote &apos;g&apos; packet reply is too long.

I meet this problem only on ARM currently. (Error is pasted below). Strange thing is that if I choose /opt/poky/ sdk mode, everything is fine.

I did not compare the two files very well, but the two armXXX-gdb files size differs a lot!



emote &apos;g&apos; packet reply is too long: 00000000f69ea9be0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000109ea9be00000000e007004010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Remote &apos;g&apos; packet reply is too long: 00000000f69ea9be0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000109ea9be00000000e007004010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Remote &apos;g&apos; packet reply is too long: 00000000f69ea9be0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000109ea9be00000000e007004010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9924</commentid>
    <comment_count>1</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-09-20 22:53:39 +0000</bug_when>
    <thetext>paste two different file size log



lke@lke-nhm:~/Desktop$ ll /media/poky/new_poky.git/build_arm/tmp/sysroots/i686-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb
-rwxr-xr-x 1 lke lke 3145107 2010-09-19 07:53 /media/poky/new_poky.git/build_arm/tmp/sysroots/i686-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb*
lke@lke-nhm:~/Desktop$ ll /opt/poky/sysroots/i586-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb
-rwxr-xr-x 1 lke lke 2557772 2010-09-19 08:20 /opt/poky/sysroots/i586-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb*</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10048</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2010-09-29 17:42:09 +0000</bug_when>
    <thetext>I was able to reproduce this finally! I think the problem is how the two gdbs are built.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10086</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2010-09-30 12:16:03 +0000</bug_when>
    <thetext>Problem was cross gdb for the poky tree was missing a --with-expat configuration</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10098</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2010-09-30 12:50:28 +0000</bug_when>
    <thetext>http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=9c9c8eb8358d2471c74e81f6a8f4d9a95c613429</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10111</commentid>
    <comment_count>5</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2010-09-30 16:11:16 +0000</bug_when>
    <thetext>Verified with the latest build from poky-master, the cross gdb debugging worked fine against program runnint in qemu-arm</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>