This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/810: can't see local variables inside brackets


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]