Command File Scope Checking

Rob Quill
2006-10-23T10:45:26Z

Hi,

Is it possible to check if a variable is in scope when using a command
file, because I don't want control to return to GDB when a variable
goes out of scope, so I would like to know if a variable is in scope
before I check the value of it.

Thanks.

Rob