gdb
[deliverable/binutils-gdb.git] / gdb / valprint.c
index ddb16e4847c4cf9aa6734d132fb71335202ccbcb..5cba023c10bfc859431d349e99601fe5fe2ac252 100644 (file)
@@ -273,6 +273,13 @@ valprint_check_validity (struct ui_file *stream,
          fprintf_filtered (stream, _("<value optimized out>"));
          return 0;
        }
+
+      if (value_bits_synthetic_pointer (val, TARGET_CHAR_BIT * offset,
+                                       TARGET_CHAR_BIT * TYPE_LENGTH (type)))
+       {
+         fputs_filtered (_("<synthetic pointer>"), stream);
+         return 0;
+       }
     }
 
   return 1;
This page took 0.045721 seconds and 4 git commands to generate.