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: Wed, 15 Apr 2009 09:08:13 -0600
> 
> Your situation is somewhat odd.  You have a working iconv but no way
> to get a list of available character sets.  This ought to be a rare
> setup.
> 
> In this case I chose to make gdb fall back on a fairly large built-in
> list.  If you try pick a charset which your iconv cannot handle, gdb
> should give an error.

Right, that does work as you say:

    (gdb) set target-charset CP839
    Undefined item: "CP839".

Although I find it odd that GDB insists on the charsets to be in
UPPERCASE.  This is okay:

    (gdb) set target-charset ISO-8859-1

but this is not:

    (gdb) set target-charset iso-8859-1
    Undefined item: "iso-8859-1".

> Eli> I will upgrade to a newer libiconv and try with that, once the result
> Eli> for 1.7 is as expected (whatever that might be).
> 
> I think the current result is as good as any other.

OK, then on to upgrading libiconv.

Thanks.


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