This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/13111] "-var-update" command incorrect when using prettyprinters
- From: "poenitz at htwm dot de" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 17 Nov 2012 19:16:17 +0000
- Subject: [Bug python/13111] "-var-update" command incorrect when using prettyprinters
- Auto-submitted: auto-generated
- References: <bug-13111-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13111
Andre' Poenitz <poenitz at htwm dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |poenitz at htwm dot de
--- Comment #1 from Andre' Poenitz <poenitz at htwm dot de> 2012-11-17 19:16:17 UTC ---
-var-update was created to keep track of standard situations, like watching
data members of C style structures.
They can conceptually not work for "complex" pretty-printing in the presence of
arbitrary changes to the environment like the value of global variables or the
return value of function calls.
The only safe approach for a gdb frontend is to not rely on -var-update (or
varobj at all for that matter) and re-run all pretty printers everytime
something could have changed.
--
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.