Adjust byte order variable display/change if DW_AT_endianity is present.
[deliverable/binutils-gdb.git] / gdb / f-lang.c
index 7f241c62784bef13642f17ab6bac6d0186842b19..fd4ad0f1411bcba917a01d8ea5c765473efbe2e0 100644 (file)
@@ -59,7 +59,7 @@ f_get_encoding (struct type *type)
       encoding = target_charset (get_type_arch (type));
       break;
     case 4:
-      if (gdbarch_byte_order (get_type_arch (type)) == BFD_ENDIAN_BIG)
+      if (type_byte_order (type) == BFD_ENDIAN_BIG)
        encoding = "UTF-32BE";
       else
        encoding = "UTF-32LE";
This page took 0.031589 seconds and 4 git commands to generate.