public inbox for
help / color / mirror / Atom feed
From: "niko.sams at gmail dot com" <>
Subject: [Bug mi/14607] New: -var-list-children reports wrong numchild count
Date: Sat, 22 Sep 2012 09:19:00 -0000	[thread overview]
Message-ID: <> (raw)

             Bug #: 14607
           Summary: -var-list-children reports wrong numchild count
           Product: gdb
           Version: 7.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mi
    Classification: Unclassified

To reproduce see this example debug session:

cat main.cpp
#include <vector>

int main()
    struct {
        std::vector<int> a;
    } struct1;


    return 0;

gdb --interpreter=mi2 testdebugee

break main.cpp:12

-var-create struct1 @ struct1

-var-list-children --all-values struct1

-var-list-children --all-values struct1.public
^^^^ should be "2"

-var-list-children --all-values struct1.public.a

-var-info-num-children struct1.public.a

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

             reply	other threads:[~2012-09-22  9:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-22  9:19 niko.sams at gmail dot com [this message]
2012-09-22  9:21 ` [Bug mi/14607] " niko.sams at gmail dot com
2012-09-22  9:24 ` niko.sams at gmail dot com
2022-05-25 19:00 ` tromey at sourceware dot org
2023-08-31 17:29 ` tromey at sourceware dot org

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* 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).