From: Vasyl Vavrychuk <vvavrychuk@gmail.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb@sourceware.org
Subject: Re: why in cplus_demangle_operators operation sizeof is expected to be followed with space
Date: Mon, 17 Sep 2012 05:49:00 -0000 [thread overview]
Message-ID: <CAGj4m+46oBXSYQ-wx9g-P7yevZeMDnNNEjvADE8sRSdoWaRiVA@mail.gmail.com> (raw)
In-Reply-To: <20120916080035.GA28890@host2.jankratochvil.net>
Hi, Jan,
On Sun, Sep 16, 2012 at 11:00 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Sun, 16 Sep 2012 08:58:07 +0200, Vasyl Vavrychuk wrote:
>> cp_canonicalize_string(exact_unsigned_base_helper<sizeof(unsigned int) * 8>)
>
> Could you post the mangled form of this name? 'nm' vs. 'nm -C' on the file(s)
> should help.
This looks to be not a symbol but type name. So I can not locate it with nm.
But I have found it directly in the binary. Line containing this text looks like
.... ^@exact_unsigned_base_helper<sizeof(unsigned int) *
8>^@uint_t<32>^@low_bits_mask_t .......
> The internal error happens
> gdb -ex 'b internal_error' -ex 'b print_command' -ex r -ex 'p cp_canonicalize_string("exact_unsigned_base_helper<sizeof(unsigned int) * 8>")' --args ./gdb -ex 'print 1'
> but GDB does not expect it could demangle such name itself.
Do you think the problem is in clang? Could you point out some
specification, so I can reference it while contacting clang people.
Thanks,
Vasyl
prev parent reply other threads:[~2012-09-17 5:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-16 6:58 Vasyl Vavrychuk
2012-09-16 8:01 ` Jan Kratochvil
2012-09-17 5:49 ` Vasyl Vavrychuk [this message]
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=CAGj4m+46oBXSYQ-wx9g-P7yevZeMDnNNEjvADE8sRSdoWaRiVA@mail.gmail.com \
--to=vvavrychuk@gmail.com \
--cc=gdb@sourceware.org \
--cc=jan.kratochvil@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).