This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
re: gdb support for wide char
- From: Duane Ellis <duane at duaneellis dot com>
- To: gdb at sourceware dot org
- Date: Tue, 14 Oct 2008 20:14:07 -0400
- Subject: re: gdb support for wide char
- References: <1224016294.17588.ezmlm@sourceware.org>
Yifan> and now i am working on utf8 which is not fixed length character.
Yifan> The solution rely on the glibc functions, eg.mbstowcs(), iconv(), to
Yifan> support wide character.
Yifan> I dont know whether this solution is good enough, because it
Yifan> does not support other programming language and it rely on the
Yifan> glibc functions.
tom> Is it calling these functions in the inferior?
I would hope not - because many inferiors *DO*NOT* have those functions.
Examples:
1) Embedded systems. There are countless ones out there.
2) Or - when you are debugging on Host (A) talking to Host (B) which
is a vastly different operating system.
The solution must be 100% self contained within GDB, requiring ZERO
target support other then raw memory bytes to display.
-Duane.