GDB: How to list all source files used for compilation

You are probably looking for info sources. info functions could also be helpful.

Don’t forget you can do things like type break and then just press tab, which will list all relevant functions.

Leave a Comment