From 6a2eecace5b987ede2ba126a1974aeafb9e71bd2 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Fri, 2 Sep 1994 00:34:43 +0000 Subject: [PATCH] * c-typeprint.c (c_typedef_print): Add missing Chill support. --- gdb/ChangeLog | 4 ++++ gdb/c-typeprint.c | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bff08cbd713..a37e1b142ca 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Thu Sep 1 17:32:54 1994 Per Bothner (bothner@kalessin.cygnus.com) + + * c-typeprint.c (c_typedef_print): Add missing Chill support. + Thu Sep 1 15:41:21 1994 Stu Grossman (grossman@cygnus.com) * rs6000-pinsn.c (print_insn): Use powerpc disassembler when diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c index 0483b76650d..60268b2a012 100644 --- a/gdb/c-typeprint.c +++ b/gdb/c-typeprint.c @@ -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, " = "); + type_print(type,"",stream,0); + break; #endif default: error("Language not supported."); -- 2.30.2