From owner-freebsd-current Sun May 19 15:43: 8 2002 Delivered-To: freebsd-current@freebsd.org Received: from relay.pair.com (relay1.pair.com [209.68.1.20]) by hub.freebsd.org (Postfix) with SMTP id DD34837B407 for ; Sun, 19 May 2002 15:43:05 -0700 (PDT) Received: (qmail 15783 invoked from network); 19 May 2002 22:43:04 -0000 Received: from 12-236-91-101.client.attbi.com (HELO ?10.1.1.198?) (12.236.91.101) by relay1.pair.com with SMTP; 19 May 2002 22:43:04 -0000 X-pair-Authenticated: 12.236.91.101 Mime-Version: 1.0 X-Sender: (Unverified) Message-Id: In-Reply-To: <20020519145840.A80466@troutmask.apl.washington.edu> References: <20020518125604.A72462@troutmask.apl.washington.edu> <20020519023108.GB10039@hades.hell.gr> <20020518201215.A74579@troutmask.apl.washington.edu> <20020519110149.B39336@dragon.nuxi.com> <3CE816DF.81998F03@mindspring.com> <20020519145840.A80466@troutmask.apl.washington.edu> Date: Sun, 19 May 2002 15:42:39 -0700 To: Steve Kargl From: Mark Peek Subject: Re: gdb breaks world Cc: freebsd-current@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 2:58 PM -0700 5/19/02, Steve Kargl wrote: >Finally, since you're quick with the wit, can you tell me >how to debug the following problem when I can't compile >the debugger. > >kargl[223] cat a.c >#include >int main(void) { > /* This isn't the problem. The problem is with gdb. */ > abort(); >} >kargl[224] !gcc >gcc -g a.c >kargl[225] gdb a.out >GNU gdb 4.18 >Copyright 1998 Free Software Foundation, Inc. >GDB is free software, covered by the GNU General Public License, and you are >welcome to change it and/or distribute copies of it under certain conditions. >Type "show copying" to see the conditions. >There is absolutely no warranty for GDB. Type "show warranty" for details. >This GDB was configured as "i386-unknown-freebsd"... > >Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader. This appears to be due to the switch to gcc-3.1. A bug has been filed in gnats on this problem (bin/38236: gdb do not work with gcc-3.1). For now, the workaround is to use the devel/gdb52 port. Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message