This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/13363] gdb crash when I try to print a std::queue inpython pretty printer
- From: "pmuldoon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 31 Oct 2011 12:34:35 +0000
- Subject: [Bug python/13363] gdb crash when I try to print a std::queue inpython pretty printer
- Auto-submitted: auto-generated
- References: <bug-13363-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13363
--- Comment #1 from Phil Muldoon <pmuldoon at redhat dot com> 2011-10-31 12:34:35 UTC ---
I tried reproducing this today with the current repository HEAD, but I cannot
reproduce it. Do you have a custom pretty-printer? What is stl.gdb?
(gdb) list
1 #include <queue>
2 #include <string>
3
4 int main()
5 {
6 std::queue<std::string> q;
7 q.push("a");
8 q.push("b");
9
10 return 0;
(gdb) b 10
Breakpoint 1 at 0x400aac: file repo.cc, line 10.
(gdb) r
Breakpoint 1,
main () at repo.cc:10
10 return 0;
(gdb) py print 3
3
(gdb) p q
$1 = std::queue wrapping: std::deque with 2 elements = {"a", "b"}
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.