This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: breakpoint for accessing memory location


Erik Leunissen wrote:

Interactive Tcl example (I guess Python and Perl show similar behaviour):


% set variableName 34
34
% puts $variableName
34
% puts variableName
variableName


A better example is:


% set varName thisVar
thisVar
% set thisVar 34
34
% set $varName
34


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]