aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfried Moser <moser@cygnus>1995-12-11 14:54:50 +0000
committerWilfried Moser <moser@cygnus>1995-12-11 14:54:50 +0000
commit8104c47b5a698729e5aec33e3b89090dc4101029 (patch)
tree60bd15ca9846f935072f450870dd0480cdd6e9bb
parentf6d165855eebd59b95ceb16c48f10c7c927d187c (diff)
downloadgdb-8104c47b5a698729e5aec33e3b89090dc4101029.zip
gdb-8104c47b5a698729e5aec33e3b89090dc4101029.tar.gz
gdb-8104c47b5a698729e5aec33e3b89090dc4101029.tar.bz2
* ch-typeprint.c (chill_type_print_base): Slightly change of printing
of variant structures.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ch-typeprint.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c9f5407..40da781 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Mon Dec 11 06:52:02 1995 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
+
+ * ch-typeprint.c (chill_type_print_base): Slightly change of printing
+ of variant structures.
+
Mon Dec 11 00:36:01 1995 Per Bothner <bothner@kalessin.cygnus.com>
* valops.c (value_cast): Handle casts to and from TYPE_CODE_CHAR.
diff --git a/gdb/ch-typeprint.c b/gdb/ch-typeprint.c
index c85ac90..a6b1944 100644
--- a/gdb/ch-typeprint.c
+++ b/gdb/ch-typeprint.c
@@ -260,7 +260,8 @@ chill_type_print_base (type, stream, show, level)
fputs_filtered ("\n", stream);
}
}
- fputs_filtered ("ESAC\n", stream);
+ print_spaces_filtered (level + 4, stream);
+ fputs_filtered ("ESAC", stream);
}
else
chill_print_type (field_type,