This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug varobj/11868] Don't call pretty printers for local variablesthat are not yet constructed
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 10 Nov 2011 21:47:54 +0000
- Subject: [Bug varobj/11868] Don't call pretty printers for local variablesthat are not yet constructed
- Auto-submitted: auto-generated
- References: <bug-11868-4717@http.sourceware.org/bugzilla/>
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.