public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "m.maghoerndl at bachmann dot info" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug mi/16084] -var-info-path-expression fails for nested structs
Date: Fri, 25 Oct 2013 11:52:00 -0000	[thread overview]
Message-ID: <bug-16084-4717-q21dBK2u2r@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-16084-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=16084

markus maghörndl <m.maghoerndl at bachmann dot info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.maghoerndl at bachmann dot info

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From gdb-prs-return-14482-listarch-gdb-prs=sources.redhat.com@sourceware.org Fri Oct 25 13:49:32 2013
Return-Path: <gdb-prs-return-14482-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 20404 invoked by alias); 25 Oct 2013 13:49:32 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 20379 invoked by uid 48); 25 Oct 2013 13:49:31 -0000
From: "forum at emblocks dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/16086] New: MI data-evaluate-expression wrong repeat counts
Date: Fri, 25 Oct 2013 13:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: gdb
X-Bugzilla-Version: 7.6
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: forum at emblocks dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status
 bug_severity priority component assigned_to reporter
Message-ID: <bug-16086-4717@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-q4/txt/msg00108.txt.bz2
Content-length: 902

https://sourceware.org/bugzilla/show_bug.cgi?id\x16086

            Bug ID: 16086
           Summary: MI data-evaluate-expression wrong repeat counts
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: forum at emblocks dot org

If I have a char[512] and every thing is cleared I get

value="'\\000' <repeats 511 times>"

So the "\\000' also counts.

Now I make member char[100] = 1 and now I get:

value="'\\000' <repeats 100 times>, \"\\001\", '\\000' <repeats 410 times>"

Which will give us

          1  + 100             +         1 +       1 +   410 = 513

The first <repeats 100 times> should be 99 or the last should be 411.

This is not to parse.

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


  reply	other threads:[~2013-10-25 11:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-25 11:47 [Bug mi/16084] New: " m.maghoerndl at bachmann dot info
2013-10-25 11:52 ` m.maghoerndl at bachmann dot info [this message]
2014-07-16 17:52 ` [Bug mi/16084] " marc.khouzam at ericsson dot com
2014-10-31 19:13 ` marc.khouzam at ericsson dot com

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=bug-16084-4717-q21dBK2u2r@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).