This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Configuring gdb_wchar.h


> Cc: gdb-patches@sources.redhat.com
> From: Tom Tromey <tromey@redhat.com>
> 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
test manually.

> 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
> output.

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:

       D:\gdb-68.410\gdb>gdb ./gdb.exe
 >>>>  Usage: iconv [--binary] [-f fromcode] [-t tocode] [file ...]
       GNU gdb (GDB) 6.8.50.20090410
       Copyright (C) 2009 Free Software Foundation, Inc.

I will look into it.  Thanks for the leads.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]