GDB 5.3 issue still remain in FBSD 4.8??

Ken Mays kmays2000 at hotmail.com
Fri Apr 4 17:48:44 PST 2003


Does this issue with GDB 5.3 still remain in FreeBSD 4.8?
http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/src/gdb/PROBLEMS?con
tent-type=text/x-cvsweb-markup&cvsroot=src

*-*-freebsd*
---------------

Due to a kernel bug (kern/35175), detaching from an attached process
will very likely cause the process to be stop or die with a Trace/BPT
trap.


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).
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.


More information about the freebsd-stable mailing list