This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/810: can't see local variables inside brackets
- From: frederic dot heem at netergymicro dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 1 Nov 2002 16:31:04 -0000
- Subject: gdb/810: can't see local variables inside brackets
- Reply-to: frederic dot heem at netergymicro dot com
>Number: 810
>Category: gdb
>Synopsis: can't see local variables inside brackets
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 01 08:38:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: frederic.heem@netergymicro.com
>Release: 5.2.1
>Organization:
>Environment:
Linux ibm20m.uk.netergymicro.com 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 2002 i686 unknown unknown GNU/Linux
>Description:
Consider the following code:
Foo()
{
int a = Bar();
{
int b = Bar();
b++;
}
}
The local variable b can't be analysed, "info locals" says "no locals"
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: