From owner-freebsd-stable@FreeBSD.ORG Fri Apr 4 17:48:44 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DC4F37B401 for ; Fri, 4 Apr 2003 17:48:44 -0800 (PST) Received: from hotmail.com (dav61.sea2.hotmail.com [207.68.164.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D7CD43FB1 for ; Fri, 4 Apr 2003 17:48:43 -0800 (PST) (envelope-from kmays2000@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 4 Apr 2003 17:48:43 -0800 Received: from 24.197.166.206 by DAV61.sea2.internal.hotmail.com with DAV; Sat, 05 Apr 2003 01:48:43 +0000 X-Originating-IP: [24.197.166.206] X-Originating-Email: [kmays2000@hotmail.com] From: "Ken Mays" To: Date: Fri, 4 Apr 2003 20:48:42 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 05 Apr 2003 01:48:43.0418 (UTC) FILETIME=[7D4257A0:01C2FB15] Subject: GDB 5.3 issue still remain in FBSD 4.8?? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ken Mays List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 01:48:44 -0000 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.