This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/22242] New: recursive display of variable information
- From: "nolange79 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 03 Oct 2017 07:44:14 +0000
- Subject: [Bug c++/22242] New: recursive display of variable information
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22242
Bug ID: 22242
Summary: recursive display of variable information
Product: gdb
Version: 7.12.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
Assignee: unassigned at sourceware dot org
Reporter: nolange79 at gmail dot com
Target Milestone: ---
Created attachment 10502
--> https://sourceware.org/bugzilla/attachment.cgi?id=10502&action=edit
Code for demonstrating the "infinite print"
Seems like the heuristics to prevent recursing into static members ain't
working with more complex code.
This is rather annoying cause it kills the debugger session in eclipse.
To reproduce the issue:
1) Compile the attached source with g++:
g++ -O0 -g3 recursivegdb.cpp
2) Debug the output:
gdb a.out
3) Set breakpoint at main and run
b main
run
4) display variable v
p v
5) Try some minutes to reach the end of it...
--
You are receiving this mail because:
You are on the CC list for the bug.