Ignore:
Timestamp:
08/08/2004 02:11:09 AM (20 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
6.0
Children:
5ba3d1d
Parents:
6e41459
Message:

Completed global edits for upcoming 6.0 release

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4000 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/aboutdebug.xml

    r6e41459 ref13657  
    88<?dbhtml filename="aboutdebug.html"?>
    99
    10 <para>Most programs and libraries are, by default, compiled with debugging
    11 symbols included (with <command>gcc</command>'s <parameter>-g</parameter>
    12 option). This means that, when debugging a program or library that was compiled
    13 with debugging information included, the debugger can give you not only memory
    14 addresses but also the names of the routines and variables.</para>
     10<para>Most programs and libraries are, by default, compiled with
     11debugging symbols included (with <command>gcc</command>'s
     12<parameter>-g</parameter> option). This means that when debugging a
     13program or library that was compiled with debugging information
     14included, the debugger can provide not only memory addresses, but also
     15the names of the routines and variables.</para>
     16
     17<para>However, the inclusion of these debugging symbols enlarges a
     18program or library significantly. The following is an example of the
     19amount of space these symbols occupy:</para>
    1520 
    16 <para>The inclusion of these debugging symbols, however, enlarges a program or
    17 library significantly. To get an idea of the amount of space these symbols
    18 occupy, have a look at the following:</para>
    19 
    2021<itemizedlist>
    2122
     
    3536</itemizedlist>
    3637
    37 <para>Sizes may vary somewhat, depending on which compiler was used and which C
    38 library, but when comparing programs with and without debugging symbols the
    39 difference will generally be a factor between 2 and 5.</para>
     38<para>Sizes may vary depending on which compiler was used and which C
     39library, but when comparing programs with and without debugging
     40symbols, the difference will usually be a factor between two and
     41five.</para>
    4042
    41 <para>As most people will probably never use a debugger on their system
    42 software, a lot of disk space can be regained by removing these symbols. For
    43 your convenience, the next section shows how to strip all debugging symbols
    44 from all programs and libraries. Information on other ways of optimizing your
    45 system can be found in the hint at <ulink url="&hints-root;optimization.txt"/>.</para>
     43<para>Because most users will never use a debugger on their system
     44software, a lot of disk space can be regained by removing these
     45symbols. The next section shows how to strip all debugging symbols
     46from the programs and libraries. Information on other ways of
     47optimizing a system can be found in the hint at <ulink
     48url="&hints-root;optimization.txt"/>.</para>
    4649
    4750</sect1>
     51
Note: See TracChangeset for help on using the changeset viewer.