gdb can't find local static variables with gcc-4.4.6-3 in RHEL 6
Issue
- If compiled with gcc-4.4.6-3, gdb is unable to find local static variables. This makes debugging some issues that require examining local static variables literally impossible.
Environment
- Red Hat Enterprise Linux (RHEL) 6
- gcc-4.4.6-3
- gdb < 7.2-60
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
