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 … Occasionally, you may need to refer to symbols that contain unusual characters, which gdb ordinarily treats as word delimiters.

Gdb finds it in your program’s symbol table, in the file indicated when you started gdb (see choosing files), or by one of the file-management commands (see commands to specify files). There you can issue commands to gdb. Say you like to place a breakpoint at line 11 and step through the execution, printing the values of the local variables - the following commands sequences will help … In order to use a debugger, however, you need to tell the compiler to include a debugging symbol table. A debugging symbol table is information included in the binary file that maps the compiled … These commands are used to debug the gdb symbol-reading code. Only symbols with debugging data are included.

A debugging symbol table is information included in the binary file that maps the compiled … These commands are used to debug the gdb symbol-reading code. Only symbols with debugging data are included. If you use `maint print symbols', gdb includes all the symbols for which it has already …