This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Dwarf Error: wrong version in compilation unit header


Hello,
I have added one reloc to resolve the symbol diff in gas. For ex: ".long .L2-.L1",
two reloc generated for .L1 and .L2 and will resolved during the link stage with
relaxation using.
But, now problem is, gdb give an error message as show below, during the load stage.
===
Dwarf Error: wrong version in compilation unit header (is -8448, should be 2)
===
> cr16-elf-gdb a.out
GNU gdb (GDB) 6.8.50.20090818
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=cr16-elf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Dwarf Error: wrong version in compilation unit header (is -8448, should be 2) [in module /user/swami/a.out]
(gdb) Quit
(gdb)
=====


Any hint for above problem cause?

Thanks
Swami



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]