summaryrefslogtreecommitdiff
path: root/gdb/ch-typeprint.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1995-02-02 03:32:52 +0000
committerPer Bothner <per@bothner.com>1995-02-02 03:32:52 +0000
commit6073b8deba9ef9e2ae3b6da918a63d30de322513 (patch)
treeb7b9f0f9cc9de82afaaae6ad2779b0a2d4ac22e0 /gdb/ch-typeprint.c
parente3be225eb4b1f6317662be790f67ca8e291ef64f (diff)
* ch-valprint.c (chill_val_print): On TYPE_CODE_STRING, don't
print address for non-'s'-formats. * ch-typeprint.c, ch-valprint.c: Use chill_varying_type instead of chill_is_varying_struct.
Diffstat (limited to 'gdb/ch-typeprint.c')
-rw-r--r--gdb/ch-typeprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ch-typeprint.c b/gdb/ch-typeprint.c
index ce19e68a63..8474cce212 100644
--- a/gdb/ch-typeprint.c
+++ b/gdb/ch-typeprint.c
@@ -175,7 +175,7 @@ chill_type_print_base (type, stream, show, level)
break;
case TYPE_CODE_STRUCT:
- if (chill_is_varying_struct (type))
+ if (chill_varying_type (type))
{
chill_type_print_base (TYPE_FIELD_TYPE (type, 1),
stream, show, level);