From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4387 invoked by alias); 6 Dec 2012 19:00:05 -0000 Received: (qmail 4349 invoked by uid 55); 6 Dec 2012 19:00:03 -0000 From: "cvs-commit at gcc dot gnu.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 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: mi X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q4/txt/msg00355.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14741 --- Comment #2 from 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 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.