title: gdb: printing a variable not in the current scope
body: <p>I am using gdb and I was wanting to print a variable not currently in the scope.  I am not sure what the exact name of the variable is so I would like to be able to change scopes rather than printing a specific variable in a specific file.</p>