Ask GDB to list all functions in a program

info functions prints the names and data types of all defined functions. See 16 Examining the Symbol Table.