This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: symtab/1195: no local symbol information within nested or nesting procedures
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 29 Apr 2003 13:38:04 -0000
- Subject: Re: symtab/1195: no local symbol information within nested or nesting procedures
- Reply-to: Daniel Jacobowitz <drow at mvista dot com>
The following reply was made to PR symtab/1195; it has been noted by GNATS.
From: Daniel Jacobowitz <drow at mvista dot com>
To: stolfi at ic dot unicamp dot br
Cc: gdb-gnats at sources dot redhat dot com
Subject: Re: symtab/1195: no local symbol information within nested or nesting procedures
Date: Tue, 29 Apr 2003 09:28:22 -0400
On Tue, Apr 29, 2003 at 01:07:15PM -0000, stolfi at ic dot unicamp dot br wrote:
>
> >Number: 1195
> >Category: symtab
> >Synopsis: no local symbol information within nested or nesting procedures
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Tue Apr 29 13:08:00 UTC 2003
> >Closed-Date:
> >Last-Modified:
> >Originator: Jorge Stolfi, CS Dept, UNiversity of Campinas
> >Release: gdb 5.3
> >Organization:
> >Environment:
> intel GNU/Linux Red Hat 2.4.18-14
> >Description:
> Gdb seems unable to report any local symbol information
> within any nested procedure, or any procedure that contains
> nested procedures.
>
> I did not see any similar report in the bug database, but
> there may be some relation to problems #1180 or #222.
> The latter was dismissed as "pascal-specific", but it
> may be in fact an instance of the C problem reported here.
> >How-To-Repeat:
> Compile the attached program and step through it.
> Notice that function arguments are not listed when the
> debugger enters the functions "nested" or "subproc".
> Requests to print local variables of either function report
> "No symbol ... in current context".
> >Fix:
> None known. The "info" documentation does not mention
> nested functions.
Please get a CVS snapshot of GDB and try again? This sounds to me much
like the DW_AT_ranges problem recently fixed.
Directions for accessing CVS can be found at
http://sources.redhat.com/gdb/.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer