From owner-cvs-all Fri Jul 12 10:35:42 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9DA737B407; Fri, 12 Jul 2002 10:35:35 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 816DC43E5E; Fri, 12 Jul 2002 10:35:35 -0700 (PDT) (envelope-from obrien@FreeBSD.org) Received: from freefall.freebsd.org (obrien@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6CHZZJU065275; Fri, 12 Jul 2002 10:35:35 -0700 (PDT) (envelope-from obrien@freefall.freebsd.org) Received: (from obrien@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6CHZZI7065274; Fri, 12 Jul 2002 10:35:35 -0700 (PDT) Message-Id: <200207121735.g6CHZZI7065274@freefall.freebsd.org> From: "David E. O'Brien" Date: Fri, 12 Jul 2002 10:35:35 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/gcc/config/i386 freebsd.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG obrien 2002/07/12 10:35:35 PDT Modified files: contrib/gcc/config/i386 freebsd.h Log: When I decided to use a stock dbxout.c rather than merge the rev 1.2 change (put the function stabs in traditional order on a.out, or gdb doesn't see function local variables), I failed to remove the related knobs here. Effectively were overrode the ELF-wide definition in elfos.h w/o providing new infrastructure. This is what caused GDB to fail to debug applications compiled and linked with -stabs. This is because GCC was unconditionally inserts .stabs instruction for functions after the function body. GDB was getting confused because what it thinks is function beginning address is actually function ending address. Submitted by: Alexander Kabaev Revision Changes Path 1.57 +0 -4 src/contrib/gcc/config/i386/freebsd.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message