Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Using gdb how to print multibyte or wide char data. (http://www.go4expert.com/forums/using-gdb-print-multibyte-wide-char-data-t6909/)

harimagic 18Oct2007 18:22

Using gdb how to print multibyte or wide char data.
 
Hi,
I would like to know how to debug multi byte data or wide char data. If I have this () data in a file. Using a variable I am reading this data. While using gdb I want to print or display. But it was showing some other data. But when I run a.out its properly printing on console.

I expect that may be the problem with charset or language set of gdb.

If my guess was wrong Please let me know what to do?

sibu 20Oct2007 19:25

Re: Using gdb how to print multibyte or wide char data.
 
Could you post the piece of code on which you are getting the error?


All times are GMT +5.5. The time now is 00:45.