* c-typeprint.c (c_typedef_print): Add missing Chill support.
[deliverable/binutils-gdb.git] / gdb / c-typeprint.c
index 0483b76650d2926b25f37e4f0eb334c33fe6bb44..60268b2a0121f42daaeb5ee27f32332d0b473124 100644 (file)
@@ -87,7 +87,14 @@ c_typedef_print (type, new, stream)
 #endif
 #ifdef _LANG_chill
    case language_chill:
-      error ("Missing Chill support in function c_typedef_print."); /*FIXME*/
+      fprintf_filtered(stream, "SYNMODE ");
+      if(!TYPE_NAME(SYMBOL_TYPE(new)) ||
+        !STREQ (TYPE_NAME(SYMBOL_TYPE(new)), SYMBOL_NAME(new)))
+       fprintf_filtered(stream, "%s = ", SYMBOL_SOURCE_NAME(new));
+      else
+        fprintf_filtered(stream, "<builtin> = ");
+      type_print(type,"",stream,0);
+      break;
 #endif
    default:
       error("Language not supported.");
This page took 0.024614 seconds and 4 git commands to generate.