add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

24
pages.zh/common/gdb.md Normal file
View File

@@ -0,0 +1,24 @@
# gdb
> GNU 调试器。
> 更多信息:<https://www.gnu.org/software/gdb>。
- 调试可执行文件:
`gdb {{executable}}`
- 将进程附加到 gdb
`gdb -p {{procID}}`
- 使用核心文件进行调试:
`gdb -c {{core}} {{executable}}`
- 启动时执行给定的 GDB 命令:
`gdb -ex "{{commands}}" {{executable}}`
- 启动 `gdb` 并传递参数给可执行文件:
`gdb --args {{executable}} {{argument1}} {{argument2}}`