mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 23:46:00 +02:00
gdb: add pt_BR translation (#4709)
This commit is contained in:
parent
c449998232
commit
4f2d04c03b
1 changed files with 24 additions and 0 deletions
24
pages.pt_BR/common/gdb.md
Normal file
24
pages.pt_BR/common/gdb.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# gdb
|
||||||
|
|
||||||
|
> O depurador GNU.
|
||||||
|
> Mais informações: <https://www.gnu.org/software/gdb>.
|
||||||
|
|
||||||
|
- Depurar um executável:
|
||||||
|
|
||||||
|
`gdb {{executável}}`
|
||||||
|
|
||||||
|
- Vincular um processo ao gdb:
|
||||||
|
|
||||||
|
`gdb -p {{PID}}`
|
||||||
|
|
||||||
|
- Depurar usando um arquivo de "core dump":
|
||||||
|
|
||||||
|
`gdb -c {{core}} {{executável}}`
|
||||||
|
|
||||||
|
- Executa um dado comando do gdb ao iniciar:
|
||||||
|
|
||||||
|
`gdb -ex "{{comandos}}" {{executável}}`
|
||||||
|
|
||||||
|
- Inicia o gdb passando argumentos para o executável:
|
||||||
|
|
||||||
|
`gdb --args {{executável}} {{argumento1}} {{argumento2}}`
|
Loading…
Add table
Reference in a new issue