public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug mi/14741] in -var-update, all children get the display hint and dynamic attribute value from the root variable
Date: Thu, 06 Dec 2012 19:00:00 -0000	[thread overview]
Message-ID: <bug-14741-4717-HeUNFFiBUq@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-14741-4717@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=14741

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-12-06 19:00:01 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2012-12-06 18:59:57

Modified files:
    gdb            : ChangeLog 
    gdb/mi         : mi-cmd-var.c 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.python: py-mi.exp py-prettyprint.c 
                              py-prettyprint.py 

Log message:
    2012-12-06  Jens Elmenthaler <jens.elmenthaler@advantest.com>

    PR mi/14741:
    * mi/mi-cmd-var.c (varobj_update_one): Take value of
    attribute "dynamic" and "displayhint" from printed child,
    not the root variable.

    * gdb.python/py-mi.exp: Correct expected results for attribute
    "dynamic" returned by -var-update.
    Add test case for correct handling of "diplayhint" for children
    of dynamic varobjs.
    * gdb.python/py-prettyprint.c (set_itme): New function.
    (bug_14741) New function.
    (main) Add call to bug_14741().
    * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14885&r2=1.14886
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-cmd-var.c.diff?cvsroot=src&r1=1.76&r2=1.77
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3473&r2=1.3474
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-mi.exp.diff?cvsroot=src&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-prettyprint.c.diff?cvsroot=src&r1=1.16&r2=1.17
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-prettyprint.py.diff?cvsroot=src&r1=1.15&r2=1.16

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


  parent reply	other threads:[~2012-12-06 19:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-18 13:48 [Bug mi/14741] New: " jens.elmenthaler at advantest dot com
2012-10-18 19:13 ` [Bug mi/14741] " marc.khouzam at ericsson dot com
2012-12-06 19:00 ` cvs-commit at gcc dot gnu.org [this message]
2012-12-06 19:04 ` tromey at redhat 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-14741-4717-HeUNFFiBUq@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).