1
0

aboutdebug.po 3.5 KB

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