This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/11482] Side effect of set print address on python API
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 19 Apr 2010 22:00:07 -0000
- Subject: [Bug python/11482] Side effect of set print address on python API
- References: <20100409172931.11482.michel.metzger@st.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From tromey at redhat dot com 2010-04-19 22:00 -------
(In reply to comment #12)
> The second thing that comes to mind is why isn't gdb.Value hashable? Should it
> be? If so, can we do it and is it desirable to do so?
The problem is that the contents of struct value are mutable.
It isn't clear what you could hash on, except object identity.
Maybe that is good enough.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11482
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.