This is the mail archive of the
mailing list for the GDB project.
Re: Configuring gdb_wchar.h
> Cc: email@example.com
> From: Tom Tromey <firstname.lastname@example.org>
> Date: Tue, 14 Apr 2009 10:31:13 -0600
> If you have dejagnu, try charset.exp.
I don't (dejagnu doesn't work on DOS), but I can easily run the same
> Otherwise, any use of a string in an expression should exercise the
> relevant code paths. You could also "set target-charset" and see what
> gdb thinks is available; if you have libiconv there should be lots of
Something's definitely wrong, because "set target-charset TAB" just
beeps, and if I type RET, it says:
(gdb) set target-charset
Requires an argument. Valid arguments are .
So it thinks there are no charsets available. Maybe the line marked
below, shown as part of GDB initialization, is a hint to the trouble:
>>>> Usage: iconv [--binary] [-f fromcode] [-t tocode] [file ...]
GNU gdb (GDB) 188.8.131.5290410
Copyright (C) 2009 Free Software Foundation, Inc.
I will look into it. Thanks for the leads.