2008/7/28 Eli Zaretskii : >> Date: Mon, 28 Jul 2008 00:45:03 +0100 >> From: "Rob Quill" >> Cc: "Jim Blandy" , gdb-patches@sourceware.org >> >> This patch (like the remove deprecated_set_value_type one) has been a >> long time coming. Please find attached what I believe should be the >> final version of this patch. > > Thanks. > >> --- gdb/NEWS 18 Jul 2008 20:55:32 -0000 1.282 >> +++ gdb/NEWS 27 Jul 2008 23:02:48 -0000 >> @@ -3,6 +3,12 @@ >> >> *** Changes since GDB 6.8 >> >> +* New expression type >> + >> +$in_scope(...) >> + The value of this expression is 1 if the variable within the >> + parentheses is within the current scope, 0 otherwise. > > This is okay. > >> +provided that you check if it is in scope before you test it's value. The operator > ^^^^ > "its" I thought about that before I submitted it but couldn't make up my mind as to which was right, as the scope belongs to the variable so maybe it needed an apostrophe. Anyway, I've attached the fixed patch. Rob