summaryrefslogtreecommitdiff
path: root/gdb/PROBLEMS
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/PROBLEMS')
-rw-r--r--gdb/PROBLEMS7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/PROBLEMS b/gdb/PROBLEMS
index 9ffea60be61..4c460d6eb80 100644
--- a/gdb/PROBLEMS
+++ b/gdb/PROBLEMS
@@ -17,8 +17,11 @@ i386-*-freebsd[34]*
There is a bug (bin/41671) in FreeBSD's gcc that causes it to emit bad
debug information when using the stabs format (which is the default).
-In earlier versions of GDB the effects were rather limited, but
-starting with GDB 5.3 the influence is much more prominent.
+As a result GDB tends to place breakpoints on functions before the
+function prologue, and information about function parameters and local
+variables is lost. In earlier versions of GDB the effects were rather
+limited, but starting with GDB 5.3 the influence is much more
+prominent. As a workaround, compile your code with -gdwarf-2.
hppa2.0-hp-hpux10.20