Re: Command File Scope Checking

Eli Zaretskii
2006-10-24T04:21:17Z

> Date: Mon, 23 Oct 2006 22:08:19 +0100
> From: "Rob Quill" <rob.quill@gmail.com>
>
> But if I am stepping through the code, and a variable goes out of
> scope, how do you suggest I go about dealing with this?

Why do you need to ``deal'' with that? I guess I don't understand
your problem, because I don't see any reason to care about such a
situation: at most, GDB will print an error message.

Can you show a small GDB script similar to what you use, and tell what
happens when a variable goes out of scope and how does that interfere
with the script?