Adjust byte order variable display/change if DW_AT_endianity is present.
[deliverable/binutils-gdb.git] / gdb / p-valprint.c
index 10612f3babe8ad82121136229f39d7790fcbb408..c465d1455b42842fb09f1b27d64e2a36e0f0d2d2 100644 (file)
@@ -67,7 +67,7 @@ pascal_val_print (struct type *type,
                  const struct value_print_options *options)
 {
   struct gdbarch *gdbarch = get_type_arch (type);
-  enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
+  enum bfd_endian byte_order = type_byte_order (type);
   unsigned int i = 0;  /* Number of characters printed */
   unsigned len;
   struct type *elttype;
This page took 0.025559 seconds and 4 git commands to generate.