2 Known problems in GDB 6.0
4 See also: http://www.gnu.org/software/gdb/bugs/
10 GDB's SPARC, MIPS and PowerPC targets, in 6.0, have not been updated
11 to use the new frame mechanism.
13 People encountering problems with these targets should consult GDB's
14 web pages and mailing lists (http://www.gnu.org/software/gdb/) to see
15 if there is an update.
19 GDB's ARM target, in 6.0, has not been updated to use the new frame
22 Fortunately the ARM target, in the GDB's mainline sources, has been
23 updated so people encountering problems should consider downloading a
24 more current GDB (http://www.gnu.org/software/gdb/current).
26 gdb/1516: [regression] local classes, gcc 2.95.3, dwarf-2
28 With gcc 2.95.3 and the dwarf-2 debugging format, classes which are
29 defined locally to a function include the demangled name of the function
30 as part of their name. For example, if a function "foobar" contains a
31 local class definition "Local", gdb will say that the name of the class
32 type is "foobar__Fi.0:Local".
34 This applies only to classes where the class type is defined inside a
35 function, not to variables defined with types that are defined somewhere
36 outside any function (which most types are).
38 gdb/1091: Constructor breakpoints ignored
39 gdb/1193: g++ 3.3 creates multiple constructors: gdb 5.3 can't set breakpoints
41 When gcc 3.x compiles a C++ constructor or C++ destructor, it generates
42 2 or 3 different versions of the object code. These versions have
43 unique mangled names (they have to, in order for linking to work), but
44 they have identical source code names, which leads to a great deal of
45 confusion. Specifically, if you set a breakpoint in a constructor or a
46 destructor, gdb will put a breakpoint in one of the versions, but your
47 program may execute the other version. This makes it impossible to set
48 breakpoints reliably in constructors or destructors.
50 gcc 3.x generates these multiple object code functions in order to
51 implement virtual base classes. gcc 2.x generated just one object code
52 function with a hidden parameter, but gcc 3.x conforms to a multi-vendor
53 ABI for C++ which requires multiple object code functions.