<?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>6621</bug_id>
          
          <creation_ts>2014-08-11 09:43:12 +0000</creation_ts>
          <short_desc>Document debug-without-src</short_desc>
          <delta_ts>2014-08-15 05:50:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Reference</product>
          <component>handbook</component>
          <version>unspecified</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>15 August 2014: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laszlo Papp">lpapp</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45065</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2014-08-11 09:43:12 +0000</bug_when>
    <thetext>I was looking for an option like this because we use gdbserver on the target as opposed to the full-blown gdb due to space constraints. As such, we do not need the source files shipped by the default foo-dbg packages. There seems to be an option for this, but it is not documented. It would be nice to make a brief note on it. Here is the commit that introduced the change:

http://lists.openembedded.org/pipermail/openembedded-core/2013-March/075836.html

I am not sure where to add it in the manual (probably debugging section and/or package.class?). Either way, the content is simple: if one specifies this as PACKAGE_DEBUG_SPLIT_STYLE = &apos;debug-without-src&apos;, the source files will not be added to the foo-dbg package for installation. This is useful when using gdbserver due to space constraints (e.g. desperately small flash size).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45111</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-08-13 13:32:26 +0000</bug_when>
    <thetext>Hi, 

I have made some additions to the dev-manual and the ref-manual to handle this issue.  In the ref-manual, I created a new variable entry for PACKAGE_DEBUG_SPLIT_STYLE.  In the dev-manual I added a note in the area that talks about saving space to point out that you can save more space by excluding the source and then referenced into the variable.

Here are the sections:

http://www.yoctoproject.org/docs/1.7/ref-manual/ref-manual.html#var-PACKAGE_DEBUG_SPLIT_STYLE

http://www.yoctoproject.org/docs/1.7/dev-manual/dev-manual.html#platdev-gdb-remotedebug

Please check them out and let me know of any issues.

Thanks,
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45112</commentid>
    <comment_count>2</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2014-08-13 13:47:37 +0000</bug_when>
    <thetext>Cool, thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45145</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-08-15 05:50:20 +0000</bug_when>
    <thetext>Thanks Laszlo.

Marking RESOLVED and setting doc flag to &quot;Done.&quot;

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>