aboutsummaryrefslogtreecommitdiff
path: root/gdb/charset.h
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-05-02 14:23:39 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-05-02 14:23:39 +0000
commite33d66ec21c1c4bfc0bfb43d9e696183721dac2b (patch)
treede902d3b15fc725fd6a9fadeca0d70ec26a31e63 /gdb/charset.h
parent2968149b03375032d4f48d8dfbb82007ff0aca1f (diff)
downloadgdb-e33d66ec21c1c4bfc0bfb43d9e696183721dac2b.zip
gdb-e33d66ec21c1c4bfc0bfb43d9e696183721dac2b.tar.gz
gdb-e33d66ec21c1c4bfc0bfb43d9e696183721dac2b.tar.bz2
gdb:
2003-05-02 Elena Zannoni <ezannoni@redhat.com> * charset.c (GDB_DEFAULT_TARGET_CHARSET, GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. (host_charset_name, target_charset_name): New vars for use by set/show commands. (host_charset_enum, target_charset_enum): New enums for set/show commands. (set_charset_sfunc, set_host_charset_sfunc, set_target_charset_sfunc): New functions. (set_host_charset, set_target_charset): Make static. (list_charsets, set_host_charset_command, set_target_charset_command): Delete functions. (show_charset_command): Rewrite as.... (show_charset): Hook this up with the set/show command mechanism. (_initialize_charset): Change names of charsets to match the set/show enums. Use host_charset_name and target_charset_name. Use set/show mechanism for charset, host-charset, target-charset commands. Do not make 'show host-charset' and 'show target-charset' be aliases of 'show charset'. * charset.h (set_host_charset, set_target_charset): Don't export, they are not used outside the file. gdb/testsuite: 2003-05-01 Elena Zannoni <ezannoni@redhat.com> * gdb.base/charset.exp: Update based on new behavior of set/show charset commands. gdb/doc: 2003-05-02 Elena Zannoni <ezannoni@redhat.com> * gdb.texinfo (Character Sets): Update to reflect new behavior of set/show charsets commands.
Diffstat (limited to 'gdb/charset.h')
-rw-r--r--gdb/charset.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/charset.h b/gdb/charset.h
index 10578cb..31dbe6f 100644
--- a/gdb/charset.h
+++ b/gdb/charset.h
@@ -46,23 +46,12 @@
the requirements above, it's easy to plug an entry into GDB's table
that uses iconv to handle the details. */
-
-/* Set the host character set to CHARSET. CHARSET must be a superset
- of ASCII, since GDB's code assumes this. */
-void set_host_charset (const char *charset);
-
-
-/* Set the target character set to CHARSET. */
-void set_target_charset (const char *charset);
-
-
/* Return the name of the current host/target character set. The
result is owned by the charset module; the caller should not free
it. */
const char *host_charset (void);
const char *target_charset (void);
-
/* In general, the set of C backslash escapes (\n, \f) is specific to
the character set. Not all character sets will have form feed
characters, for example.