gdb support for wide char
Duane Ellis
duane@duaneellis.com
Wed Oct 15 00:14:00 GMT 2008
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.
More information about the Gdb
mailing list