gdb
[deliverable/binutils-gdb.git] / gdb / printcmd.c
index 346c2e270088ad44941870f832e91d5e8db2d025..bfe847996aaa9e4a32a3e45439b1648215a28c6d 100644 (file)
@@ -2372,7 +2372,7 @@ printf_command (char *arg, int from_tty)
              obstack_init (&output);
              inner_cleanup = make_cleanup_obstack_free (&output);
 
-             convert_between_encodings (target_wide_charset (byte_order),
+             convert_between_encodings (target_wide_charset (gdbarch),
                                         host_charset (),
                                         str, j, wcwidth,
                                         &output, translit_char);
@@ -2404,7 +2404,7 @@ printf_command (char *arg, int from_tty)
              obstack_init (&output);
              inner_cleanup = make_cleanup_obstack_free (&output);
 
-             convert_between_encodings (target_wide_charset (byte_order),
+             convert_between_encodings (target_wide_charset (gdbarch),
                                         host_charset (),
                                         bytes, TYPE_LENGTH (valtype),
                                         TYPE_LENGTH (valtype),
This page took 0.024466 seconds and 4 git commands to generate.