Occasionally, you may need to refer to symbols that contain unusual characters, which gdb ordinarily treats as word delimiters. You can use the command info. 177 info functions prints the names and data types of all defined functions
See 16 examining the symbol table. That is, filename reflects symbols for only those files whose symbols gdb has read Only symbols with debugging data are included
That is, filename reflects symbols for only those files whose symbols gdb has read. Examining the symbol table the commands described in this chapter allow you to inquire about the symbols (names of variables, functions and types) defined in your program This information is inherent in the text of your program and does not change as your program executes Gdb finds it in your program's symbol table, in the file indicated when you started gdb (see section choosing files), or.
Parameters regex if specified, the info functions command will list the functions matching the regex If omitted, the command wil list all functions in all loaded modules (main program and shared libraries) Remarks note that running the info functions command without arguments can produce a lot of output as the list of all functions in all loaded shared libraries is typically very long. In this guide, we’ll walk through the process of listing all functions in a program using gdb, from compiling with debug symbols to advanced filtering and output management
Write a dump of debugging symbol data into the file filename