Make command line editing (use of readline) be per UI
[deliverable/binutils-gdb.git] / gdb / charset.h
index 77001685de65d794d7b98904693b1ad064298849..559b3286657f8f420a373040da260afb9563dbdd 100644 (file)
@@ -1,5 +1,5 @@
 /* Character set conversion support for GDB.
-   Copyright (C) 2001, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 2001-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -33,8 +33,8 @@
    result is owned by the charset module; the caller should not free
    it.  */
 const char *host_charset (void);
-const char *target_charset (void);
-const char *target_wide_charset (enum bfd_endian byte_order);
+const char *target_charset (struct gdbarch *gdbarch);
+const char *target_wide_charset (struct gdbarch *gdbarch);
 
 /* These values are used to specify the type of transliteration done
    by convert_between_encodings.  */
@@ -60,8 +60,10 @@ enum transliterations
    caller is responsible for initializing the obstack, and for
    destroying the obstack should an error occur.
    TRANSLIT specifies how invalid conversions should be handled.  */
+
 void convert_between_encodings (const char *from, const char *to,
-                               const gdb_byte *bytes, unsigned int num_bytes,
+                               const gdb_byte *bytes,
+                               unsigned int num_bytes,
                                int width, struct obstack *output,
                                enum transliterations translit);
 
@@ -91,7 +93,8 @@ struct wchar_iterator;
    This function either returns a new character set iterator, or calls
    error.  The result can be freed using a cleanup; see
    make_cleanup_wchar_iterator.  */
-struct wchar_iterator *make_wchar_iterator (const gdb_byte *input, size_t bytes,
+struct wchar_iterator *make_wchar_iterator (const gdb_byte *input,
+                                           size_t bytes,
                                            const char *charset,
                                            size_t width);
 
This page took 0.024487 seconds and 4 git commands to generate.