RHBA-2013:0811
The GNU Debugger (GDB) allows debugging of programs written in C, C++, Java, and other languages by executing them in a controlled fashion and then printing out their data. This update fixes the following bugs: * When users tried to execute the "maintenance set python print-stack" command, gdb did not recognize it and issued an error stating the command was undefined. With this update, gdb now correctly recognizes and executes the command. (BZ#952090) * When debugging a C++ program which declared a local static variable inside a class, gdb was unable to locate the local static variable. This caused problems when debugging some issues that required examining these kinds of variables. With this update, gdb now correctly identifies that the variable exists, and the debugging process functions normally. (BZ#952100) * Previously, users experienced an internal error in the debugger when using a Thread Local Storage (TLS) modifier in a static variable declared inside a class on a C++ program, and asking gdb to print its value. This caused the debugging session to be compromised. With this update, gdb is now able to correctly deal with a static variable declared as a TLS inside a class and errors no longer occur in the described scenario. (BZ#954300) Users of gdb are advised to upgrade to these updated packages, which fix these bugs.
Evidence and freshness
Last supporting evidence check: 2026-11-27T23:33:29.885Z UTC
Upstream Advisory
Affected Packages
gdb 7.2-60.el6_4.1
gdb-gdbserver 7.2-60.el6_4.1