Debugging HelloWorld program

Tom Tromey tromey@cygnus.com
Wed Oct 11 17:19:00 GMT 2000


>>>>> "Tom" == Tom Williams <Tom.Williams@diversifiedsoftware.com> writes:

Tom> Hi! Thanks again for the info! This is the VERY first time I've
Tom> ever used gdb so please excuse my ignorance. I switched to the
Tom> "desired" thread and ran the "bt" command. It looks like the
Tom> time is being spent in __gconv_transform_ucs2_internal. I also
Tom> see the letter "e" in part of that stack trace line so I guess
Tom> the letter "e" in "Hello World" is being converted or something.
This looks like the failure I was seeing.
My fix was setting LANG=en_US.UTF-8.
However, you already reported that that doesn't work for you.
Try setting the `file.encoding' property to UTF-8 instead.
You can do this at link time like so:
 gcj --main=... -Dfile.encoding=UTF-8 ...
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /