From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26515 invoked by alias); 28 Jun 2009 19:03:12 -0000 Received: (qmail 26220 invoked by uid 22791); 28 Jun 2009 19:03:09 -0000 X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-qy0-f191.google.com (HELO mail-qy0-f191.google.com) (209.85.221.191) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 28 Jun 2009 19:03:04 +0000 Received: by qyk29 with SMTP id 29so4331894qyk.12 for ; Sun, 28 Jun 2009 12:03:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.72.194 with SMTP id n2mr3674756vcj.52.1246215781909; Sun, 28 Jun 2009 12:03:01 -0700 (PDT) Date: Sun, 28 Jun 2009 19:03:00 -0000 Message-ID: <629542d40906281203o3601025at573704e36ee80565@mail.gmail.com> Subject: -stack-list-locals and children From: Niko Sams To: gdb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00273.txt.bz2 Hi, -stack-list-locals doesn't return an numchild element. How can the IDE know if a local is has children? If there are children, they are listed in value: ^done,locals=[{name="list",value="QList = {[0] = \"hello\"}"}] Is it a good idea to parse the value with an regular expression to find out if there are children? Or is there a better way to get numchild? Niko