diff options
author | Per Bothner <per@bothner.com> | 1994-09-02 00:34:43 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1994-09-02 00:34:43 +0000 |
commit | 6a2eecace5b987ede2ba126a1974aeafb9e71bd2 (patch) | |
tree | ffb4270c842205f3c0e3d7251d7425735764bd22 /gdb | |
parent | 5b676c51ac7bd66d06d296674364033a1119320d (diff) | |
download | gdb-6a2eecace5b987ede2ba126a1974aeafb9e71bd2.zip gdb-6a2eecace5b987ede2ba126a1974aeafb9e71bd2.tar.gz gdb-6a2eecace5b987ede2ba126a1974aeafb9e71bd2.tar.bz2 |
* c-typeprint.c (c_typedef_print): Add missing Chill support.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/c-typeprint.c | 9 |
2 files changed, 12 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bff08cb..a37e1b1 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 0483b76..60268b2 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, "<builtin> = "); + type_print(type,"",stream,0); + break; #endif default: error("Language not supported."); |