"xu zhou" <zhouxuzhu1985@gmail.com> writes: > Can anyone tell me how gdb find variable'value when user type the > 'print' command? Thank you! You'll need to read the sources. It's extremely complicated, and involves many parts of the debugger.