Skip to content

Commit

Permalink
Fix wrong icinga2 binary in development docs
Browse files Browse the repository at this point in the history
fixes #10710
  • Loading branch information
Michael Friedrich committed Nov 25, 2015
1 parent d96ee6b commit c0dc4ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/21-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,11 @@ the duplicate import in your `~/.gdbinit` file.

### <a id="development-debug-gdb-run"></a> GDB Run

Call GDB with the binary and all arguments and run it in foreground.
Call GDB with the binary (`/usr/sbin/icinga2` is a wrapper script calling
`/usr/lib64/icinga2/sbin/icinga2` since 2.4) and all arguments and run it in foreground.
If VFork causes trouble disable it inside the gdb run.

# gdb --args /usr/sbin/icinga2 daemon -x debug -DUseVfork=0
# gdb --args /usr/lib64/icinga2/sbin/icinga2 daemon -x debug -DUseVfork=0

> **Note**
>
Expand Down

0 comments on commit c0dc4ec

Please sign in to comment.