I cloned LEDE repository from github and wanted to debug my simple program on router. To do this, I configured LEDE build (like here: https://wiki.openwrt.org/doc/devel/gdb) using menuconfig:
Advanced configuration options (for developers) → Toolchain Options → Build gdb
Development → gdbserver
Development → gdb
Then I compiled my simple program with -ggdb3 flag and wanted to start debugging. However, it is impossible because gdbserver binary seems to be missing on router after sysupgrade (it does not appear in /bin, /sbin, /usr/bin, /usr/sbin). Have I missed something in this configuration?