This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
c++/1962: Nested static causing infinite recursion in print.
- From: vcato at bellsouth dot net
- To: gdb-gnats at sources dot redhat dot com
- Date: 2 Jul 2005 17:15:04 -0000
- Subject: c++/1962: Nested static causing infinite recursion in print.
- Reply-to: vcato at bellsouth dot net
>Number: 1962
>Category: c++
>Synopsis: Nested static causing infinite recursion in print.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Jul 02 17:18:01 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator: vcato@bellsouth.net
>Release: GNU gdb Red Hat Linux (6.3.0.0-1.21rh)
>Organization:
>Environment:
>Description:
Linux 2.6.11-1.1369_FC4 #1
athlon
>How-To-Repeat:
struct B;
struct A {
static B b;
};
struct B {
A a;
};
B A::b;
B b;
int main(int,char **)
{
// set a breakpoint here, run, then print b
// Results in infinite recursion
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: