Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Klaus-Georg Adams <Klaus-Georg.Adams@sap.com>
To: Eli Zaretskii <eliz@is.elta.co.il>
Cc: gdb@sources.redhat.com
Subject: Re: displaying wchar_t in gdb
Date: Mon, 26 Nov 2001 01:59:00 -0000	[thread overview]
Message-ID: <ru1elmllrvs.fsf@p56731.wdf.sap-ag.de> (raw)
In-Reply-To: <Pine.SUN.3.91.1011126112758.11497B-100000@is>

Eli Zaretskii <eliz@is.elta.co.il> writes:

> On Mon, 26 Nov 2001, Klaus-Georg Adams wrote:
> 
> > I am working on a large project in C++ which works entirely with wide
> > strings and streams. Is there a way to display wchar_t in gdb similar
> > to narrow strings?
> 
> The usual technique is to have in the application a function which can 
> print such strings, and then call it from GDB using the "call" command.

What would be a strategy to implement this natively in gdb? Can you
tell inside gdb if we are working with wchar_t? Should there be a
separate format for this?

I'd be willing to explore (and maybe implement) this if somebody can
set me on the right track...

Thanks, kga


WARNING: multiple messages have this Message-ID
From: Klaus-Georg Adams <Klaus-Georg.Adams@sap.com>
To: Eli Zaretskii <eliz@is.elta.co.il>
Cc: gdb@sources.redhat.com
Subject: Re: displaying wchar_t in gdb
Date: Tue, 13 Nov 2001 21:28:00 -0000	[thread overview]
Message-ID: <ru1elmllrvs.fsf@p56731.wdf.sap-ag.de> (raw)
Message-ID: <20011113212800.bifwfWFhVzLa27yD7XmtjtektTgrF8n3sQ6hzFL_--E@z> (raw)
In-Reply-To: <Pine.SUN.3.91.1011126112758.11497B-100000@is>


Eli Zaretskii <eliz@is.elta.co.il> writes:

> On Mon, 26 Nov 2001, Klaus-Georg Adams wrote:
> 
> > I am working on a large project in C++ which works entirely with wide
> > strings and streams. Is there a way to display wchar_t in gdb similar
> > to narrow strings?
> 
> The usual technique is to have in the application a function which can 
> print such strings, and then call it from GDB using the "call" command.

What would be a strategy to implement this natively in gdb? Can you
tell inside gdb if we are working with wchar_t? Should there be a
separate format for this?

I'd be willing to explore (and maybe implement) this if somebody can
set me on the right track...

Thanks, kga


  parent reply	other threads:[~2001-11-26  1:59 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-13 16:57 Klaus-Georg Adams
2001-11-26  1:16 ` Klaus-Georg Adams
2001-11-26  1:29 ` Eli Zaretskii
2001-11-13 21:23   ` Eli Zaretskii
2001-11-26  1:59   ` Klaus-Georg Adams [this message]
2001-11-13 21:28     ` Klaus-Georg Adams
2001-11-26  4:11     ` Eli Zaretskii
2001-11-13 23:51       ` Eli Zaretskii
2001-11-22  9:19       ` LeakyStain
2001-11-28 15:38         ` LeakyStain
2001-11-22 14:30       ` Tom Tromey
2001-11-28 16:02         ` Tom Tromey
2001-11-29  0:19         ` Eli Zaretskii
2001-11-23 13:27           ` Eli Zaretskii
2001-11-24 22:42           ` Tom Tromey
2001-11-29  8:04             ` Tom Tromey
2001-11-25 10:38 Klaus-Georg Adams
2001-11-25 10:44 ` Arnaud Charlet
2001-11-30  2:22   ` Arnaud Charlet
2001-11-25 12:10 ` Paul Hilfinger
2001-11-30  3:36   ` Paul Hilfinger
2001-11-30  2:15 ` Klaus-Georg Adams
2001-11-30  2:25 ` Joel Brobecker
2001-11-25 10:54   ` Joel Brobecker

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=ru1elmllrvs.fsf@p56731.wdf.sap-ag.de \
    --to=klaus-georg.adams@sap.com \
    --cc=eliz@is.elta.co.il \
    --cc=gdb@sources.redhat.com \
    /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