From owner-freebsd-bugs Sat May 18 1:51: 1 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F3E9037B447 for ; Sat, 18 May 2002 01:50:19 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4I8oH716608; Sat, 18 May 2002 01:50:17 -0700 (PDT) (envelope-from gnats) Received: from vbook.express.ru (asplinux.ru [195.133.213.194]) by hub.freebsd.org (Postfix) with ESMTP id C92E737B408; Sat, 18 May 2002 01:41:24 -0700 (PDT) Received: from vova by vbook.express.ru with local (Exim 3.36 #1) id 178zmD-0003sK-00; Sat, 18 May 2002 12:41:21 +0400 Message-Id: Date: Sat, 18 May 2002 12:41:21 +0400 From: "Vladimir B.Grebenschikov" Reply-To: "Vladimir B.Grebenschikov" To: FreeBSD-gnats-submit@FreeBSD.org Cc: current@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/38236: gdb do not work with gcc-3.1 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38236 >Category: bin >Synopsis: gdb do not work with gcc-3.1 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 18 01:50:12 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Vladimir B. Grebenschikov >Release: FreeBSD 5.0-CURRENT i386 >Organization: SWsoft >Environment: System: FreeBSD vbook.express.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri May 17 13:42:09 MSD 2002 root@vbook.express.ru:/usr/obj/usr/local/src/sys/VBOOK i386 make world done at May 16. >Description: GDB do not work with strange diagnostic: Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader. >How-To-Repeat: vbook:/home/vova/src 164_> cat > aa.c #include main() { printf("hello world\n"); } ^D vbook:/home/vova/src 165_> gcc -g aa.c vbook:/home/vova/src 166_> gdb a.out GNU gdb 4.18 (FreeBSD) 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. (gdb) b main No symbol table is loaded. Use the "file" command. (gdb) r Starting program: /usr/local/home/vova/src/a.out hello world (no debugging symbols found)...(no debugging symbols found)... Program exited with code 015. (gdb) q vbook:/home/vova/src 167_> gdb --version GNU gdb 4.18 (FreeBSD) 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". vbook:/home/vova/src 168_> gcc --version gcc (GCC) 3.1 [FreeBSD] 20020509 (prerelease) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >Fix: Get GCC before 3.1 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message