This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
gdb support for wide char
- From: "Yifan Wang" <heavenstar at gmail dot com>
- To: gdb at sourceware dot org
- Date: Wed, 1 Oct 2008 12:28:36 +0200
- Subject: gdb support for wide char
hi
in gdb, i usually use "p" or "x /s" to print strings in my program.
But the problem is, when i write some program for non-english user,
i usually use utf-8 or utf-16 strings. gdb can not print those string properly.
so i want to write a patch to gdb so that gdb can support printing utf strings.
I am not familar with the gdb source files, can someone give some ideas
about where i should start and which part of the source files cover the topic?
Any hints or ideas are great
Thanks
Yifan