gdb: update page and add Dutch translation (#18090)

This commit is contained in:
Dylan
2025-09-13 13:25:34 +03:00
committed by GitHub
parent 0c2ef89053
commit a3f9d3cc55
2 changed files with 35 additions and 7 deletions
+28
View File
@@ -0,0 +1,28 @@
# gdb
> De GNU Debugger.
> Meer informatie: <https://sourceware.org/gdb/current/onlinedocs/gdb#Invocation>.
- Debug een uitvoerbaar bestand:
`gdb {{pad/naar/uitvoerbaar_bestand}}`
- Koppel een proces aan `gdb`:
`gdb {{[-p|--pid]}} {{procID}}`
- Debug met een core-bestand:
`gdb {{[-c|--core]}} {{pad/naar/core}} {{pad/naar/uitvoerbaar_bestand}}`
- Voer een bepaald GDB-commando uit bij het starten:
`gdb {{[-ex|--eval-command]}} "{{commando's}}" {{pad/naar/uitvoerbaar_bestand}}`
- Start `gdb` en geef argumenten mee aan het uitvoerbaar bestand:
`gdb --args {{pad/naar/uitvoerbaar_bestand}} {{argument1 argument2 ...}}`
- Sla `debuginfod`- en paginationprompts over en toon de backtrace:
`gdb {{[-c|--core]}} {{pad/naar/core}} {{pad/naar/uitvoerbaar_bestand}} -iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt`
+7 -7
View File
@@ -5,24 +5,24 @@
- Debug an executable:
`gdb {{executable}}`
`gdb {{path/to/executable}}`
- Attach a process to gdb:
- Attach a process to `gdb`:
`gdb {{[-p|--pid]}} {{procID}}`
- Debug with a core file:
`gdb {{[-c|--core]}} {{core}} {{executable}}`
`gdb {{[-c|--core]}} {{path/to/core}} {{path/to/executable}}`
- Execute given GDB commands upon start:
`gdb {{[-ex|--eval-command]}} "{{commands}}" {{executable}}`
`gdb {{[-ex|--eval-command]}} "{{commands}}" {{path/to/executable}}`
- Start `gdb` and pass arguments to the executable:
`gdb --args {{executable}} {{argument1}} {{argument2}}`
`gdb --args {{path/to/executable}} {{argument1 argument2 ...}}`
- Skip debuginfod and pagination prompts and then print the backtrace:
- Skip `debuginfod` and pagination prompts and then print the backtrace:
`gdb {{[-c|--core]}} {{core}} {{executable}} -iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt`
`gdb {{[-c|--core]}} {{path/to/core}} {{path/to/executable}} -iex 'set debuginfod enabled on' -iex 'set pagination off' -ex bt`