From: Caroline Tice Date: Fri, 18 May 2007 19:45:19 +0000 (+0000) Subject: Accidentally left this out of previous commit; part of adding ability X-Git-Tag: binutils-2_16-branchpoint~450 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=79422b87d225b41e3456772b3602ea0b860ad640;p=pf3gnuchains%2Fpf3gnuchains4x.git Accidentally left this out of previous commit; part of adding ability to report when a variable's value is uninitialized. --- diff --git a/gdb/value.h b/gdb/value.h index bbf662de62..5c0a2aba23 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -193,6 +193,12 @@ extern int value_contents_equal (struct value *val1, struct value *val2); extern int value_optimized_out (struct value *value); extern void set_value_optimized_out (struct value *value, int val); +/* Set or return field indicating whether a variable is initialized or + not, based on debugging information supplied by the compiler. + 1 = initialized; 0 = uninitialized. */ +extern int value_initialized (struct value *); +extern void set_value_initialized (struct value *, int); + /* While the following fields are per- VALUE .CONTENT .PIECE (i.e., a single value might have multiple LVALs), this hacked interface is limited to just the first PIECE. Expect further change. */