Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Yifan Wang" <heavenstar@gmail.com>
To: gdb@sourceware.org
Subject: gdb support for wide char
Date: Wed, 01 Oct 2008 10:29:00 -0000	[thread overview]
Message-ID: <fdbd509e0810010328w5dc56929g64c2e4ae1ca69bd5@mail.gmail.com> (raw)

hi

in gdb, i usually use "p" or "x /s" to print strings in my program.
But the problem is, when i write some program for non-english user,
i usually use utf-8 or utf-16 strings. gdb can not print those string properly.
so i want to write a patch to gdb so that gdb can support printing utf strings.

I am not familar with the gdb source files, can someone give some ideas
about where i should start and which part of the source files cover the topic?
Any hints or ideas are great

Thanks
Yifan


             reply	other threads:[~2008-10-01 10:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-01 10:29 Yifan Wang [this message]
2008-10-01 15:28 ` Tom Tromey
2008-10-13  8:56   ` Yifan Wang
2008-10-13 18:48     ` Tom Tromey
     [not found] <1224016294.17588.ezmlm@sourceware.org>
2008-10-15  0:14 ` Duane Ellis

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=fdbd509e0810010328w5dc56929g64c2e4ae1ca69bd5@mail.gmail.com \
    --to=heavenstar@gmail.com \
    --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