Adjust byte order variable display/change if DW_AT_endianity is present.
[deliverable/binutils-gdb.git] / gdb / p-lang.c
index 0cf1c6c16ca614da5f77737d357c5199c9b445ae..33cb6e635d81fce07215b2128f1c84dfc57127b2 100644 (file)
@@ -230,7 +230,7 @@ pascal_printstr (struct ui_file *stream, struct type *type,
                 const char *encoding, int force_ellipses,
                 const struct value_print_options *options)
 {
-  enum bfd_endian byte_order = gdbarch_byte_order (get_type_arch (type));
+  enum bfd_endian byte_order = type_byte_order (type);
   unsigned int i;
   unsigned int things_printed = 0;
   int in_quotes = 0;
This page took 0.025295 seconds and 4 git commands to generate.