Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Roland Schwingel <roland.schwingel@onevision.de>
To: gdb <gdb@sourceware.org>
Subject: Problem on cygwin with new wchar_t printing support via iconv()
Date: Tue, 24 Mar 2009 10:04:00 -0000	[thread overview]
Message-ID: <49C8B026.9090608@onevision.de> (raw)

Hi...

With the new wchar_t printing support using iconv() I got some trouble 
on cygwin 1.5.25.

I simply freezes when I try to step into a function having a wchar_t * 
as parameter.
I have buildt gdb both using the cygwin supplied libiconv and an own 
libiconv intree
with gdb sources.

 From what I have diagnosed it runs into an endless loop in 
wchar_to_loop_convert()
in libiconv's loop_wchar.h.

The default charsets of gdb after starting it:
target-charset = US_ASCII
targe-wide-charset = UCS-4

When I disable iconv() usage everything is fine again, beside of the 
fact that I can't use
the new feature. BTW: I am using the most recent CVS sources.

Roland


             reply	other threads:[~2009-03-24 10:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 10:04 Roland Schwingel [this message]
2009-03-24 16:44 ` Tom Tromey
2009-03-25  8:56 Roland Schwingel
2009-03-25 15:13 ` Pedro Alves
2009-03-25 15:19   ` Pedro Alves
2009-03-25 19:17   ` Tom Tromey
2009-03-25 19:14 ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49C8B026.9090608@onevision.de \
    --to=roland.schwingel@onevision.de \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox