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]

Command File Scope Checking


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


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