2004-02-28 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / PROBLEMS
CommitLineData
e2c9a72c 1
faae5abe 2 Known problems in GDB 6.1
e2c9a72c 3
36cc83a3 4 See also: http://www.gnu.org/software/gdb/bugs/
e2c9a72c 5
e6beb428
AC
6mips*-*-*
7powerpc*-*-*
8sparc*-*-*
9
10GDB's SPARC, MIPS and PowerPC targets, in 6.0, have not been updated
11to use the new frame mechanism.
12
13People encountering problems with these targets should consult GDB's
14web pages and mailing lists (http://www.gnu.org/software/gdb/) to see
15if there is an update.
16
17arm-*-*
18
19GDB's ARM target, in 6.0, has not been updated to use the new frame
20mechanism.
21
ce2826aa 22Fortunately the ARM target, in the GDB's mainline sources, has been
e6beb428
AC
23updated so people encountering problems should consider downloading a
24more current GDB (http://www.gnu.org/software/gdb/current).
25
c6e06ede
MC
26gdb/1516: [regression] local classes, gcc 2.95.3, dwarf-2
27
28With gcc 2.95.3 and the dwarf-2 debugging format, classes which are
29defined locally to a function include the demangled name of the function
30as part of their name. For example, if a function "foobar" contains a
31local class definition "Local", gdb will say that the name of the class
32type is "foobar__Fi.0:Local".
33
34This applies only to classes where the class type is defined inside a
35function, not to variables defined with types that are defined somewhere
36outside any function (which most types are).
37
e8ac10a6
MC
38gdb/1091: Constructor breakpoints ignored
39gdb/1193: g++ 3.3 creates multiple constructors: gdb 5.3 can't set breakpoints
e2c9a72c 40
e8ac10a6
MC
41When gcc 3.x compiles a C++ constructor or C++ destructor, it generates
422 or 3 different versions of the object code. These versions have
43unique mangled names (they have to, in order for linking to work), but
44they have identical source code names, which leads to a great deal of
45confusion. Specifically, if you set a breakpoint in a constructor or a
46destructor, gdb will put a breakpoint in one of the versions, but your
47program may execute the other version. This makes it impossible to set
48breakpoints reliably in constructors or destructors.
49
50gcc 3.x generates these multiple object code functions in order to
51implement virtual base classes. gcc 2.x generated just one object code
52function with a hidden parameter, but gcc 3.x conforms to a multi-vendor
53ABI for C++ which requires multiple object code functions.
589ca796
JB
54
55gdb/1560: Control-C does not always interrupt GDB.
56When GDB is busy processing a command which takes a long time to
57complete, hitting Control-C does not have the expected effect.
58The command execution is not aborted, and the "QUIT" message confirming
59the abortion is displayed only after the command has been completed.
This page took 0.181374 seconds and 4 git commands to generate.