This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Command File Scope Checking
- From: "Rob Quill" <rob dot quill at gmail dot com>
- To: gdb at sourceware dot org
- Date: Mon, 23 Oct 2006 11:45:23 +0100
- Subject: 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