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/11482] Side effect of set print address on python API


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


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