aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-lang.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1994-06-05 01:43:40 +0000
committerPer Bothner <per@bothner.com>1994-06-05 01:43:40 +0000
commite10cfcaa374a1a493e5aa68dc251534800d38124 (patch)
treed383531402da1319216a25ca121bef26f3610d54 /gdb/ch-lang.c
parentc4d7d826d72aeabda9a30bf836a2734033c476e3 (diff)
downloadgdb-e10cfcaa374a1a493e5aa68dc251534800d38124.zip
gdb-e10cfcaa374a1a493e5aa68dc251534800d38124.tar.gz
gdb-e10cfcaa374a1a493e5aa68dc251534800d38124.tar.bz2
Fix value_print, which used to be ostensibly langauge-indepentdent,
but would print pointers and arrays in C syntax. Instead, call a language-specific function. See ChangeLog for details.
Diffstat (limited to 'gdb/ch-lang.c')
-rw-r--r--gdb/ch-lang.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ch-lang.c b/gdb/ch-lang.c
index f7d9212..b3128fd 100644
--- a/gdb/ch-lang.c
+++ b/gdb/ch-lang.c
@@ -315,6 +315,7 @@ const struct language_defn chill_language_defn = {
chill_create_fundamental_type,/* Create fundamental type in this language */
chill_print_type, /* Print a type using appropriate syntax */
chill_val_print, /* Print a value using appropriate syntax */
+ chill_value_print, /* Print a top-levl value */
&builtin_type_chill_real, /* longest floating point type */
{"", "B'", "", ""}, /* Binary format info */
{"O'%lo", "O'", "o", ""}, /* Octal format info */