http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51956

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-05 
13:29:07 UTC ---
I think my preferred format is (count N + M weak)

(gdb) p sp
$2 = std::shared_ptr (count 1 + 1 weak) 0x602010
(gdb) p wp
$3 = std::weak_ptr (count 1 + 1 weak) 0x602010

I'm also going to make it print the type, shared_ptr<int> would be much more
helpful than just shared_ptr

Reply via email to