forked from Imagelibrary/binutils-gdb
Turn value_initialized and set_value_initialized functions into methods
This changes the value_initialized and set_value_initialized functions to be methods of value. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -554,7 +554,7 @@ c_value_print (struct value *val, struct ui_file *stream,
|
||||
}
|
||||
}
|
||||
|
||||
if (!value_initialized (val))
|
||||
if (!val->initialized ())
|
||||
gdb_printf (stream, " [uninitialized] ");
|
||||
|
||||
if (options->objectprint && (type->code () == TYPE_CODE_STRUCT))
|
||||
|
||||
Reference in New Issue
Block a user