From 732f6a935c88164b258505f7b10091bafa6bf877 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 15 Apr 2009 22:20:32 +0000 Subject: gdb * c-lang.c (c_emit_char): Use INTERMEDIATE_ENCODING. (c_printstr): Likewise. * charset.c: Include gdb_wait.h. (make_wchar_iterator): Use INTERMEDIATE_ENCODING. (find_charset_names): Use pexecute. Handle libiconv's output. Detect errors. (_initialize_charset): Use xstrdup. * gdb_wchar.h: Check HAVE_BTOWC. Split PHONY_ICONV and wchar cases. (INTERMEDIATE_ENCODING): New define. * configure, config.in: Rebuild. * configure.ac: Check for btowc. gdb/doc * gdb.texinfo (Character Sets): Document default character set. --- gdb/config.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/config.in') diff --git a/gdb/config.in b/gdb/config.in index 0d5effa..ab0c840 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -70,6 +70,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_BP_SYM_H +/* Define to 1 if you have the `btowc' function. */ +#undef HAVE_BTOWC + /* Define to 1 if you have the `canonicalize_file_name' function. */ #undef HAVE_CANONICALIZE_FILE_NAME -- cgit v1.1