Works for me. Following the same procedure, I get no errors, and
prettyprinting STL structures work as advertised.

:~/src/gdb_printers$ grep RELEASE /etc/lsb-release 
DISTRIB_RELEASE=10.04
:~/src/gdb_printers$ uname -a
Linux enitharmon 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 
i686 GNU/Linux
:~/src/gdb_printers$ gdb --version
GNU gdb (GDB) 7.1-ubuntu

(...)

(gdb) p b
$1 = std::deque with 4 elements = {"This", "is", "a", "test."}
(gdb) p a
$2 = std::vector of length 3, capacity 4 = {15, 10, 123123}

-- 
STL Pretty printing does not work on ubuntu
https://bugs.launchpad.net/bugs/599895
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to