Changeset a613960 for chapter08/aboutdebug.xml
- Timestamp:
- 12/20/2022 03:26:41 PM (17 months ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/aboutdebug.xml
rd15c80e ra613960 18 18 the names of the routines and variables.</para> 19 19 20 <para> However, the inclusion of these debugging symbols enlarges a21 program or library significantly. The following is an exampleof the20 <para>The inclusion of these debugging symbols enlarges a 21 program or library significantly. Here are two examples of the 22 22 amount of space these symbols occupy:</para> 23 23 … … 29 29 <listitem> 30 30 <para>A <command>bash</command> binary without debugging symbols: 31 480 KB </para>31 480 KB (60% smaller)</para> 32 32 </listitem> 33 33 <listitem> … … 37 37 </listitem> 38 38 <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> 40 40 </listitem> 41 41 </itemizedlist> 42 42 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, 48 47 a lot of disk space can be regained by removing these symbols. The next 49 48 section shows how to strip all debugging symbols from the programs and
Note:
See TracChangeset
for help on using the changeset viewer.