This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/13111] "-var-update" command incorrect when using prettyprinters


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]