Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2003 20:48:42 -0500
From:      "Ken Mays" <kmays2000@hotmail.com>
To:        <stable@FreeBSD.ORG>
Subject:   GDB  5.3 issue still remain in FBSD 4.8??
Message-ID:  <DAV61mYewQ1N8Pik3Y80001216a@hotmail.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DAV61mYewQ1N8Pik3Y80001216a>