* gdb.texinfo (Help): Fix formatting of examples.
[deliverable/binutils-gdb.git] / gdb / arch-utils.c
index 1a987f34be911533bca5322822a68ec1f30a0cf3..1ec3c37ff454c926154242f9809d0a943c3e8498 100644 (file)
@@ -287,6 +287,15 @@ static const char *endian_enum[] =
 };
 static const char *set_endian_string;
 
+enum bfd_endian
+selected_byte_order (void)
+{
+  if (target_byte_order_user != BFD_ENDIAN_UNKNOWN)
+    return TARGET_BYTE_ORDER;
+  else
+    return BFD_ENDIAN_UNKNOWN;
+}
+
 /* Called by ``show endian''.  */
 
 static void
This page took 0.023876 seconds and 4 git commands to generate.