RE: DW_AT_count is the same as DW_AT_upper_bound?

Rouslan Korneychuk
2013-07-05T19:27:03Z

On Fri, 5 Jul 2013 21:08:44 +0200, Jan Kratochvil wrote:
> But your sample DWARF is a case of dynamic bounds which are supported only in
> experimental branch(es) so far:
> http://sourceware.org/gdb/wiki/FortranVLA
> particularly the branch jankratochvil/vla of git://sourceware.org/git/archer.git

I see. Then it's a wonder it works as well as it does.

Thanks for the quick reply.
From gdb-return-42333-listarch-gdb=sources.redhat.com@sourceware.org Sat Jul 06 10:09:26 2013
Return-Path: <gdb-return-42333-listarch-gdb=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb@sources.redhat.com
Received: (qmail 29477 invoked by alias); 6 Jul 2013 10:09:25 -0000
Mailing-List: contact gdb-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb.sourceware.org>
List-Subscribe: <mailto:gdb-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb/>
List-Post: <mailto:gdb@sourceware.org>
List-Help: <mailto:gdb-help@sourceware.org>, <http://sourceware.org/ml/#faqs>
Sender: gdb-owner@sourceware.org
Delivered-To: mailing list gdb@sourceware.org
Received: (qmail 29467 invoked by uid 89); 6 Jul 2013 10:09:25 -0000
X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,MIME_CHARSET_FARAWAY,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_SV autolearn=ham version=3.3.1
Received: from mail-oa0-f49.google.com (HELO mail-oa0-f49.google.com) (209.85.219.49) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sat, 06 Jul 2013 10:09:23 +0000
Received: by mail-oa0-f49.google.com with SMTP id n9so4411537oag.8 for <gdb@sourceware.org>; Sat, 06 Jul 2013 03:09:22 -0700 (PDT)
X-Received: by 10.182.129.101 with SMTP id nv5mr14737473obb.56.1373105362147; Sat, 06 Jul 2013 03:09:22 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.60.116.101 with HTTP; Sat, 6 Jul 2013 03:08:42 -0700 (PDT)
From: Hui Zhu <teawater@gmail.com>
Date: Sat, 06 Jul 2013 10:09:00 -0000
Message-ID: <CANFwon3mt2ZT9vpm7R-teYBkH0c+GDWZSq7TpFswbE+7¶iFw@mail.gmail.com>
Subject: KGTP (Linux debugger and tracer) 20130706 release (bugs fix and doc update)
To: linux-kernel@vger.kernel.org, "gdb@sourceware.org" <gdb@sourceware.org>, kgtp <kgtp@freelists.org>
Cc: Marc Khouzam <marc.khouzam@ericsson.com>, Thiago Jung Bauermann <thiago.bauermann@gmail.com>, Steven <mqyoung@gmail.com>, colyli@gmail.com, Christoph Hellwig <hch@infradead.org>, Geoff Levand <geoff@infradead.org>, Steven Rostedt <rostedt@goodmis.org>, Geunsik Lim <leemgs1@gmail.com>, Andi Kleen <andi@firstfloor.org>, Tao Ma <taoma.tm@gmail.com>, Oliver Yang <yangoliver@gmail.com>
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: quoted-printable
X-SW-Source: 2013-07/txt/msg00033.txt.bz2
Content-length: 1554

Hi guys,

KGTP (http://code.google.com/p/kgtp/) is a flexible, lightweight and
realtime Linux debugger and tracer.
To use it, you don't need patch or rebuild the Linux kernel. Just
build KGTP module and insmod it is OK.
I will introduce KGTP in GNU Tools Cauldron 2013
http://gcc.gnu.org/wiki/cauldron2013.

Please go to http://code.google.com/p/kgtp/wiki/HOWTO or
http://code.google.com/p/kgtp/wiki/HOWTO (Chinese) to get more info
about howto use KGTP.

Please goto https://code.google.com/p/kgtp/wiki/HOWTO#Table_of_different_between_GDB_debug_normal_program_and_KGTP
or https://code.google.com/p/kgtp/wiki/HOWTOCN#GDBµ÷ÊÔÆÕÍ¨³ÌÐòºÍKGTPµÄÇø±ð±í
(Chinese) get the table of different between GDB debug normal program
and KGTP if you have experience using GDB debug normal program.

Now, KGTP 20130706 release.
You can get the package for it from
http://kgtp.googlecode.com/files/kgtp_20130706.tar.bz2
or
svn co https://kgtp.googlecode.com/svn/tags/20130706

The main change of this release is:
Fix bug with functions return value.
Fix dead lock with dynamic watch tracepoint.
Add $watch_prev_val to show the previous value that watch tracepoint
is watching on.
Update doc add "Get the way that access the variable that has been out
through parse ASM code".
Please goto http://code.google.com/p/kgtp/wiki/UPDATE get more info
about this release.

According to the comments of Christoph, Geoff and Andi. I make lite
patch for review. Please goto https://lkml.org/lkml/2012/5/9/90 to
see it.

Thanks,
Hui