From: Fernando Rodriguez <frodriguez.developer@outlook.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: [OFF TOPIC] Qt Creator unable to access containers in debug mode
Date: Tue, 24 Mar 2015 20:11:43 -0400 [thread overview]
Message-ID: <4994020.5WZmRhaifa@navi> (raw)
In-Reply-To: <mesolu$oob$1@ger.gmane.org>
On Wednesday, March 25, 2015 12:32:30 AM Nikos Chantziaras wrote:
> Note that gdb cannot inspect containers. It doesn't know anything about
> them.
It can, it's just not pretty:
(gdb) p list1
$1 = {{p = {static shared_null = {ref = {_q_value = 15}, alloc = 0, begin = 0,
end = 0, sharable = 1, array = {0x0}},
d = 0x61b050}, d = 0x61b050}}
(gdb) p/c ((QString*)list1.d.array).d.data[0]@10
$2 = {72 'H', 101 'e', 108 'l', 108 'l', 111 'o', 32 ' ', 71 'G', 68 'D', 66
'B', 0 '\000'}
and with missing symbols:
(gdb) p list1
No symbol "list1" in current context.
So I wasn't arguing, just suggesting a way to find out quickly.
--
Fernando Rodriguez
prev parent reply other threads:[~2015-03-25 0:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-24 13:07 [gentoo-user] [OFF TOPIC] Qt Creator unable to access containers in debug mode Francisco Ares
2015-03-24 13:52 ` [gentoo-user] " Nikos Chantziaras
2015-03-24 17:04 ` Francisco Ares
2015-03-24 19:12 ` [gentoo-user] " Fernando Rodriguez
2015-03-24 19:32 ` [gentoo-user] " Nikos Chantziaras
2015-03-24 20:07 ` Fernando Rodriguez
2015-03-24 20:43 ` Francisco Ares
2015-03-24 22:32 ` Nikos Chantziaras
2015-03-25 0:11 ` Fernando Rodriguez [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=4994020.5WZmRhaifa@navi \
--to=frodriguez.developer@outlook.com \
--cc=gentoo-user@lists.gentoo.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