This is the mail archive of the gdb@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: gdb support for wide char


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.





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