2004-02-28 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / PROBLEMS
1
2 Known problems in GDB 6.1
3
4 See also: http://www.gnu.org/software/gdb/bugs/
5
6 mips*-*-*
7 powerpc*-*-*
8 sparc*-*-*
9
10 GDB's SPARC, MIPS and PowerPC targets, in 6.0, have not been updated
11 to use the new frame mechanism.
12
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.
16
17 arm-*-*
18
19 GDB's ARM target, in 6.0, has not been updated to use the new frame
20 mechanism.
21
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).
25
26 gdb/1516: [regression] local classes, gcc 2.95.3, dwarf-2
27
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".
33
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).
37
38 gdb/1091: Constructor breakpoints ignored
39 gdb/1193: g++ 3.3 creates multiple constructors: gdb 5.3 can't set breakpoints
40
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.
49
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.
54
55 gdb/1560: Control-C does not always interrupt GDB.
56 When GDB is busy processing a command which takes a long time to
57 complete, hitting Control-C does not have the expected effect.
58 The command execution is not aborted, and the "QUIT" message confirming
59 the abortion is displayed only after the command has been completed.
This page took 0.031879 seconds and 5 git commands to generate.