summaryrefslogtreecommitdiff
path: root/gdb/p-typeprint.c
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2002-05-02 11:32:24 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2002-05-02 11:32:24 +0000
commitd3de1857945d2902f7e0329b7b994122d3ecefbe (patch)
treedf23c04a6573ead2aec9802cbbf792a4face2146 /gdb/p-typeprint.c
parent44b3fc4e7bc3bde9645db6c0e3fd51648d6111ed (diff)
downloadgdb-d3de1857945d2902f7e0329b7b994122d3ecefbe.tar.gz
2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
* p-typeprint.c (pascal_type_print_base): Add support for TYPE_CODE_STRING and TYPE_CODE_BITSTRING.
Diffstat (limited to 'gdb/p-typeprint.c')
-rw-r--r--gdb/p-typeprint.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c
index f7fc3899ead..e8de7884f1d 100644
--- a/gdb/p-typeprint.c
+++ b/gdb/p-typeprint.c
@@ -788,6 +788,14 @@ pascal_type_print_base (struct type *type, struct ui_file *stream, int show,
show - 1, level);
break;
+ case TYPE_CODE_BITSTRING:
+ fputs_filtered ("BitString", stream);
+ break;
+
+ case TYPE_CODE_STRING:
+ fputs_filtered ("String", stream);
+ break;
+
default:
/* Handle types not explicitly handled by the other cases,
such as fundamental types. For these, just print whatever