2002-12-10 Andrew Cagney <ac131313@redhat.com>
[deliverable/binutils-gdb.git] / gdb / PROBLEMS
CommitLineData
e2c9a72c 1
e73e1724 2 Known problems in GDB 5.3
e2c9a72c 3
36cc83a3 4 See also: http://www.gnu.org/software/gdb/bugs/
e2c9a72c
AC
5
6
e73e1724
MK
7*-*-freebsd*
8---------------
9
10Due to a kernel bug (kern/35175), detaching from an attached process
11will very likely cause the process to be stop or die with a Trace/BPT
12trap.
13
14
15i386-*-freebsd[34]*
16-------------------
17
18There is a bug (bin/41671) in FreeBSD's gcc that causes it to emit bad
19debug information when using the stabs format (which is the default).
cd87e769
MK
20As a result GDB tends to place breakpoints on functions before the
21function prologue, and information about function parameters and local
22variables is lost. In earlier versions of GDB the effects were rather
23limited, but starting with GDB 5.3 the influence is much more
24prominent. As a workaround, compile your code with -gdwarf-2.
e73e1724
MK
25
26
6b325864 27hppa2.0-hp-hpux10.20
36cc83a3 28--------------------
6b325864 29
36cc83a3
AC
30gdb/487: The top level make files used to build GDB are not compatible
31with HP/UX make. As a workaround, use GNU make.
6b325864 32
36cc83a3
AC
33gdb/486: The HP/UX C compiler defaults to K&R mode but GDB only builds
34with an ISO C compiler. The top level configuration incorrectly sets
35CC to `cc' instead of `cc -Ae'. As a workaround, the correct compiler
36can be specified as part of the configuration vis:
6b325864 37
36cc83a3 38 $ 'CC=cc -Ae' ./configure
6b325864 39
6b325864 40
0db71247
AC
41s390*-*-*
42---------
43
44gdb/513: GDB does not build on s390 GNU/Linux. The problem should be
45fixed in more recent sources.
46
47
48i386-*-freebsd4.4*
49------------------
50
51gdb/455: GDB doesn't build on a FreeBSD 4.4-STABLE system. The
52problem is still being investigated.
b0718b7b
JB
53
54alpha*-*-osf*
55-------------
56
57gdb/816: When building GDB with GCC 3.0.1, GDB is unable to load a core
58file properly. It generates several errors and warnings regarding
59unhandled core file section types, incorrect endianness, the failure to
60load the registers. Are also incorrectly reported: The program name, the
61cause of the program death, and the call stack at the moment of the
62death. This problem has been reported on alpha-osf4.0f and alpha-osf5.1a.
63To work-around the problem, add -D__digital__ to the CFLAGS when
64building GDB vis:
65
66 $ make CFLAGS='-O2 -D__digital__'
67
This page took 0.094174 seconds and 4 git commands to generate.