Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 00:03:20 -0300
From:      "Nilton Jose Rizzo" <rizzo@i805.com.br>
To:        freebsd-current@freebsd.org
Subject:   gdb problem
Message-ID:  <20140320025555.M46170@i805.com.br>

next in thread | raw e-mail | index | archive | help
I have problem with debug some files compiled with clang, my gbd from system 
is 6.1.1, like showed.

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd"...Dwarf Error: wrong version
in compilation unit header (is 4, should be 2) [in module
/home2/rizzo/src/Doutorado/main]


and when I try to debug a program (main) show this error mesage.

What I do wrong?

Thanks 

P.S. the gdb of ports have a compile error, I send a mesage to mainteiner

Rizzo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140320025555.M46170>