2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
authorPierre Muller <muller@sourceware.org>
Thu, 2 May 2002 11:32:24 +0000 (11:32 +0000)
committerPierre Muller <muller@sourceware.org>
Thu, 2 May 2002 11:32:24 +0000 (11:32 +0000)
* p-typeprint.c (pascal_type_print_base): Add support
for TYPE_CODE_STRING and TYPE_CODE_BITSTRING.

gdb/ChangeLog
gdb/p-typeprint.c

index 21d56920de97097f9bbd185d410b32d6b5aee3aa..d68c15f39430f39860c603c18b9392c70a27e895 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2002-05-02  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR
index f7fc3899eada0c9a37fb8aa0f9c4bb8792b0ff4b..e8de7884f1de3ed4ac2725ff09578333e160db29 100644 (file)
@@ -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