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 varobj/11868] Don't call pretty printers for local variablesthat are not yet constructed


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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011-11-10
                 CC|                            |tromey at redhat dot com
     Ever Confirmed|0                           |1

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2011-11-10 21:47:54 UTC ---
We changed how errors are propagated from printers to varobj,
which should help this problem a bit -- you should get a more
sensible display from properly written printers.

Could you try this?

FWIW, I think trying to circumvent pretty-printing based on
checking line numbers to see if initialization has occurred is
likely to be fragile.  First, in the presence of optimization,
this information is not really reliable.  Second, the same effect
can be seen via data corruption anyway -- so it is better instead
to try to come up with a solution that is robust in the presence
of errors.

-- 
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]