summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Axelrod <git@danonline.net>2016-11-01 23:59:32 +0000
committerDaniel Axelrod <git@danonline.net>2016-11-01 23:59:32 +0000
commitc7dd62a0dae8a38a6104b2e4f771a7b324ac927b (patch)
treeeec4a7ed5a1e35a2b238694a23e9babfab7413d1
parente2e3f196ac79beb1a79aff2ff94ddc1882bc76f4 (diff)
downloadgitlab-ce-c7dd62a0dae8a38a6104b2e4f771a7b324ac927b.tar.gz
Fix gdb backtrace command
Correct the command to get a gdb backtrace from all threads. `apply` is not a valid gdb command. See https://sourceware.org/gdb/onlinedocs/gdb/Threads.html#Threads .
-rw-r--r--doc/administration/troubleshooting/debug.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/administration/troubleshooting/debug.md b/doc/administration/troubleshooting/debug.md
index d8dce4388e1..6f1356ddf8f 100644
--- a/doc/administration/troubleshooting/debug.md
+++ b/doc/administration/troubleshooting/debug.md
@@ -107,7 +107,7 @@ downtime. Otherwise skip to the next section.
1. To see the current threads, run:
```
- apply all thread bt
+ thread apply all bt
```
1. Once you're done debugging with `gdb`, be sure to detach from the process and exit: