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/11381] pretty print display hint struct format problems


------- Additional Comments From pmuldoon at redhat dot com  2010-04-01 16:28 -------
I'm attaching a draft patch that will allow the user to return None in to_string
and the output should be formatted correctly. This is an example of a vector
that returns None for to_string, and a deque that returns some text:

(gdb) p v
$1 =  {0x409922 "one"}
(gdb) p ddd
$2 = std::deque with 3 elements {18, 23, 7}

If this is what you want, I'll update/clean-up/add testcases to the patch and
submit it to FSF GDB.



-- 


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

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