You would be surprised by how many people don't know gdb's visual mode, tui, exists.
https://i.imgur.com/iIPW7lv.png
You can also view assembly and registers.
https://i.imgur.com/iIPW7lv.png
You can also view assembly and registers.
This and learning how to set breakpoints properly in GDB and perhaps analyzing a binary with IDA Pro plus searching via Google a lot is what really helped me.