* gdbtypes.c (create_string_type): Receive character type as argument.
[deliverable/binutils-gdb.git] / gdb / gdbtypes.c
index 17df58e13f2e30b8734cb4eb5a9d9f7bd3c0fd40..005a29d1dad332c2bcd3c7c6ed71fea580354f8a 100644 (file)
@@ -846,13 +846,10 @@ create_array_type (struct type *result_type,
    type?  */
 
 struct type *
-create_string_type (struct type *result_type, 
+create_string_type (struct type *result_type,
+                   struct type *string_char_type,
                    struct type *range_type)
 {
-  struct type *string_char_type;
-      
-  string_char_type = language_string_char_type (current_language,
-                                               current_gdbarch);
   result_type = create_array_type (result_type,
                                   string_char_type,
                                   range_type);
This page took 0.026718 seconds and 4 git commands to generate.