bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb issues w/nested C funcs


From: dae3
Subject: gdb issues w/nested C funcs
Date: Mon, 2 Jun 2008 09:17:39 +0200
User-agent: slrn/pre0.9.9-102 (Linux)

gdb still cannot "see" local variables in a nested C function. This is
reported in PR 1195¹ and 1379².

As the reports are 5 year old by now, I'm wondering whether any work is
being done on this, or if some kind of workaround exists (aside from
avoiding nested functions, not an option in my current project). Using
Dwarf-2 does not solve the issue.


-----BEGIN VERSION INFO-----
~> uname -a
Linux xyzzy.local 2.6.18-53.1.21.el5 #1 SMP Tue May 20 10:08:35 EDT
2008 i686 athlon i386 GNU/Linux
~> gcc --version
gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-14)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

~> gdb --version
GNU gdb Red Hat Linux (6.5-25.el5_1.1rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux-gnu".
------END VERSION INFO------


¹ <http://tinyurl.com/43lrqj>
² <http://tinyurl.com/44anvs>

-- 
7252d9cfd74c0962cfe33327f8ec7b7f0e951b3fc2aae9f9368889e41e4ddae3
20237623d476d25cb07247ac1df08329fe84b424a3eeac0d69cb89d3fe36a527


reply via email to

[Prev in Thread] Current Thread [Next in Thread]