.. toctree:: :maxdepth: 1 gdb commands ------------ This TIL won’t be a real TIL: I’ll use it as a kind of registry of all useful gdb commands I find. Some commands will be detailed in other TILs but the goal of this page is to centralize all commands without further information. Threads ~~~~~~~ - View threads: ``info threads`` - Select a thread: ``thread 3`` Backtrace ~~~~~~~~~ - Print backtrace: ``bt`` - Select a frame: ``frame 13`` Variables ~~~~~~~~~ - Print variable: ``print myVar``