aboutdebug.po 4.1 KB

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