public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/10584] New: MI vars with Python pretty-printers don't get updated
@ 2009-09-01  8:16 noamraph at gmail dot com
  2009-09-01  8:16 ` [Bug gdb/10584] " noamraph at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: noamraph at gmail dot com @ 2009-09-01  8:16 UTC (permalink / raw)
  To: gdb-prs

Hello,

If I create a Python pretty-printer, it doesn't get updated in GUI using gdb.
This is because the MI var doesn't get updated. To recreate:

Download bug.c, bug.py which I will attach in a minute.
> gcc -g bug.c
> gdb --int mi2
(gdb) python execfile("bug.py") # Install pretty-printer for type "MyInt"
(gdb) break main
(gdb) run
(gdb) next # do x = 3
(gdb) -var-create x * x
(gdb) next # x = 5
(gdb) -var-update * # Doesn't report x changing.

This was tested on a current CVS: 6.8.50.20090831

Thanks,
Noam

-- 
           Summary: MI vars with Python pretty-printers don't get updated
           Product: gdb
           Version: 6.8
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: noamraph at gmail dot com
                CC: gdb-prs at sourceware dot org


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-09-03 18:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-01  8:16 [Bug gdb/10584] New: MI vars with Python pretty-printers don't get updated noamraph at gmail dot com
2009-09-01  8:16 ` [Bug gdb/10584] " noamraph at gmail dot com
2009-09-01  8:17 ` noamraph at gmail dot com
2009-09-01  9:12 ` noamraph at gmail dot com
2009-09-01  9:13 ` noamraph at gmail dot com
2009-09-01  9:14 ` noamraph at gmail dot com
2009-09-01 16:06 ` tromey at redhat dot com
2009-09-03  7:45 ` noamraph at gmail dot com
2009-09-03 13:26 ` noamraph at gmail dot com
2009-09-03 13:37 ` noamraph at gmail dot com
2009-09-03 16:15 ` tromey at redhat dot com
2009-09-03 18:14 ` tromey at redhat dot com

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