14.36 Displaying the current block scope information
The which command takes a symbol as an argument and prints the information on a given symbol. It prints the following information:
•current block scope addresses
•line information of the definition of the symbol
•filename in which the definition of the symbol occurs
The which command does not work for global and type symbols since they do not contain line information.
Syntax:
which <symbol>
For example :
(gdb) which i Line 4 of "example.c" block starts at address 0x29a8 <main> and ends at 0x29e4 <main+0x3c>
14.37 Linux support
Linux Runtime Environment (LRE) on
14.36 Displaying the current block scope information 241