From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EEF82138CC5 for ; Wed, 25 Mar 2015 00:12:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 355FCE0855; Wed, 25 Mar 2015 00:12:21 +0000 (UTC) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.230]) by pigeon.gentoo.org (Postfix) with ESMTP id 1EF9BE0850 for ; Wed, 25 Mar 2015 00:12:20 +0000 (UTC) Received: from [142.196.200.180] ([142.196.200.180:38282] helo=navi.localnet) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 7E/90-03545-36DF1155; Wed, 25 Mar 2015 00:12:19 +0000 From: Fernando Rodriguez 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 Message-ID: <4994020.5WZmRhaifa@navi> User-Agent: KMail/4.14.3 (Linux/3.19.1; KDE/4.14.3; x86_64; ; ) In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 X-Archives-Salt: 3d2faedb-5386-4e1c-916f-23cb5dd9fa02 X-Archives-Hash: d256946ded6ee87512362c5da98d64ff 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