aboutdebug.po 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. msgid ""
  2. msgstr ""
  3. "Project-Id-Version: PACKAGE VERSION\n"
  4. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  5. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  6. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  7. "Language-Team: LANGUAGE <LL@li.org>\n"
  8. "Language: zh_CN\n"
  9. "MIME-Version: 1.0\n"
  10. "Content-Type: text/plain; charset=UTF-8\n"
  11. "Content-Transfer-Encoding: 8bit\n"
  12. "X-Generator: Translate Toolkit 2.2.5\n"
  13. #. type: Content of: <sect1><title>
  14. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/aboutdebug.xml:11
  15. msgid "About Debugging Symbols"
  16. msgstr "关于调试符号"
  17. #. type: Content of: <sect1><para>
  18. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/aboutdebug.xml:13
  19. msgid ""
  20. "Most programs and libraries are, by default, compiled with debugging symbols "
  21. "included (with <command>gcc</command>'s <parameter>-g</parameter> option). "
  22. "This means that when debugging a program or library that was compiled with "
  23. "debugging information, the debugger can provide not only memory addresses, "
  24. "but also the names of the routines and variables."
  25. msgstr ""
  26. "许多程序和库在默认情况下被编译为带有调试符号的二进制文件 (通过使用 "
  27. "<command>gcc</command> 的 <parameter>-g</parameter> 选项)。这意味着在调试这"
  28. "些带有调试信息的程序和库时,调试器不仅能给出内存地址,还能给出子程序和变量的"
  29. "名称。"
  30. #. type: Content of: <sect1><para>
  31. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/aboutdebug.xml:20
  32. msgid ""
  33. "However, the inclusion of these debugging symbols enlarges a program or "
  34. "library significantly. The following is an example of the amount of space "
  35. "these symbols occupy:"
  36. msgstr ""
  37. "然而,插入这些调试符号会显著增大程序或库的体积。下面是一些表现调试符号占用空"
  38. "间的例子:"
  39. #. type: Content of: <sect1><itemizedlist><listitem><para>
  40. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/aboutdebug.xml:26
  41. msgid "A <command>bash</command> binary with debugging symbols: 1200 KB"
  42. msgstr "一个有调试符号的 <command>bash</command> 二进制程序:1200 KB"
  43. #. type: Content of: <sect1><itemizedlist><listitem><para>
  44. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/aboutdebug.xml:30
  45. msgid "A <command>bash</command> binary without debugging symbols: 480 KB"
  46. msgstr "一个没有调试符号的 <command>bash</command> 二进制程序:480 KB"
  47. #. type: Content of: <sect1><itemizedlist><listitem><para>
  48. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/aboutdebug.xml:34
  49. msgid ""
  50. "Glibc and GCC files (<filename class=\"directory\">/lib</filename> and "
  51. "<filename class=\"directory\">/usr/lib</filename>) with debugging symbols: "
  52. "87 MB"
  53. msgstr ""
  54. "带有调试符号的 Glibc 和 GCC 文件 (<filename class=\"directory\">/lib</"
  55. "filename> 和 <filename class=\"directory\">/usr/lib</filename> 目录中):87 "
  56. "MB"
  57. #. type: Content of: <sect1><itemizedlist><listitem><para>
  58. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/aboutdebug.xml:39
  59. msgid "Glibc and GCC files without debugging symbols: 16 MB"
  60. msgstr "没有调试符号的 Glibc 和 GCC 文件:16 MB"
  61. #. type: Content of: <sect1><para>
  62. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/aboutdebug.xml:43
  63. msgid ""
  64. "Sizes may vary depending on which compiler and C library were used, but when "
  65. "comparing programs with and without debugging symbols, the difference will "
  66. "usually be a factor between two and five."
  67. msgstr ""
  68. "以上文件大小的值可能随编译器和 C 运行库的版本而变化,但在比较带调试符号和不"
  69. "带调试符号的程序时,它们文件大小的差距通常达到 2 至 5 倍。"
  70. #. type: Content of: <sect1><para>
  71. #: /home/xry111/svn-repos/LFS-BOOK/chapter08/aboutdebug.xml:47
  72. msgid ""
  73. "Because most users will never use a debugger on their system software, a lot "
  74. "of disk space can be regained by removing these symbols. The next section "
  75. "shows how to strip all debugging symbols from the programs and libraries."
  76. msgstr ""
  77. "由于大多数用户永远不会用调试器调试系统软件,可以通过移除它们的调试符号,回收"
  78. "大量磁盘空间。下一节展示如何从系统程序和库中移除所有调试符号。"