gdb problem

From: Nilton Jose Rizzo <rizzo_at_i805.com.br>
Date: Thu, 20 Mar 2014 00:03:20 -0300
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
Received on Thu Mar 20 2014 - 02:03:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:47 UTC