2007-07-03 Markus Deuling <deuling@de.ibm.com>
[deliverable/binutils-gdb.git] / gdb / c-valprint.c
index 2ec90585b85a853c1fec00cf5fc46807ceb71eba..ad5e4d16edac22a5ac577d2ddcb3d94c0baa281b 100644 (file)
@@ -556,6 +556,9 @@ c_value_print (struct value *val, struct ui_file *stream, int format,
        }
     }
 
+  if (!value_initialized (val))
+    fprintf_filtered (stream, " [uninitialized] ");
+
   if (objectprint && (TYPE_CODE (type) == TYPE_CODE_CLASS))
     {
       /* Attempt to determine real type of object */
This page took 0.025285 seconds and 4 git commands to generate.