Ignore:
Timestamp:
12/20/2022 03:26:41 PM (17 months ago)
Author:
David Bryant <david@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
0785a5e
Parents:
d15c80e
Message:

Removed redundant verbiage. Rewrote a very clumsy sentence.

To speak of a difference (implying subtraction) and a factor
(multiplication) as equivalent is confusing at best.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/aboutdebug.xml

    rd15c80e ra613960  
    1818  the names of the routines and variables.</para>
    1919
    20   <para>However, the inclusion of these debugging symbols enlarges a
    21   program or library significantly. The following is an example of the
     20  <para>The inclusion of these debugging symbols enlarges a
     21  program or library significantly. Here are two examples of the
    2222  amount of space these symbols occupy:</para>
    2323
     
    2929    <listitem>
    3030      <para>A <command>bash</command> binary without debugging symbols:
    31       480 KB</para>
     31      480 KB (60% smaller)</para>
    3232    </listitem>
    3333    <listitem>
     
    3737    </listitem>
    3838    <listitem>
    39       <para>Glibc and GCC files without debugging symbols: 16 MB</para>
     39      <para>Glibc and GCC files without debugging symbols: 16 MB (82% smaller)</para>
    4040    </listitem>
    4141  </itemizedlist>
    4242
    43   <para>Sizes may vary depending on which compiler and C library were used,
    44   but when comparing programs with and without debugging symbols, the
    45   difference will usually be a factor between two and five.</para>
    46 
    47   <para>Because most users will never use a debugger on their system software,
     43  <para>Sizes will vary depending on which compiler and C library were used,
     44  but a program that has been stripped of debugging symbols is usually some
     45  50% to 80% smaller than its unstripped counterpart.
     46  Because most users will never use a debugger on their system software,
    4847  a lot of disk space can be regained by removing these symbols. The next
    4948  section shows how to strip all debugging symbols from the programs and
Note: See TracChangeset for help on using the changeset viewer.