diff options
Diffstat (limited to 'gdb/charset.c')
-rw-r--r-- | gdb/charset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/charset.c b/gdb/charset.c index 43b69ec..a59d9c6 100644 --- a/gdb/charset.c +++ b/gdb/charset.c @@ -358,9 +358,9 @@ target_charset (void) } const char * -target_wide_charset (void) +target_wide_charset (enum bfd_endian byte_order) { - if (gdbarch_byte_order (current_gdbarch) == BFD_ENDIAN_BIG) + if (byte_order == BFD_ENDIAN_BIG) { if (target_wide_charset_be_name) return target_wide_charset_be_name; |