Date: Sat, 18 May 2002 12:41:21 +0400 From: "Vladimir B.Grebenschikov" <vova@sw.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: current@FreeBSD.org Subject: bin/38236: gdb do not work with gcc-3.1 Message-ID: <E178zmD-0003sK-00@vbook.express.ru>
next in thread | raw e-mail | index | archive | help
>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 <stdio.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E178zmD-0003sK-00>